Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.codehaus.groovy.grails.plugins.logging
[Groovy] Class Log4jConfig

    java.lang.Object
      org.codehaus.groovy.grails.plugins.logging.Log4jConfig

    class Log4jConfig

Encapsulates the configuration of Log4j.

Authors:
  Graeme Rocher

Since:
  1.1

Property Summary
`static java.lang.Object` | `APPENDERS`
`static java.lang.Object` | `DEFAULT_PATTERN_LAYOUT`
`static java.lang.Object` | `LAYOUTS`

Method Summary
`java.lang.Object` | `all(java.util.Map appenderAndPackages)`
`java.lang.Object` | `all(Object[] packages)`
`java.lang.Object` | `appender(java.util.Map name, Appender instance)`
`java.lang.Object` | `appender(Appender instance)`
`java.lang.Object` | `appenders(groovy.lang.Closure callable)`
`java.lang.Object` | `configure()`
`java.lang.Object` | `configure(groovy.lang.Closure callable)`
`java.lang.Object` | `debug(java.util.Map appenderAndPackages)`
`java.lang.Object` | `debug(Object[] packages)`
`java.lang.Object` | `development(groovy.lang.Closure callable)`
`java.lang.Object` | `eachLogger(java.lang.Object packages, groovy.lang.Closure callable)`
`java.lang.Object` | `environments(groovy.lang.Closure callable)`
`java.lang.Object` | `error(java.util.Map appenderAndPackages)`
`java.lang.Object` | `error(Object[] packages)`
`java.lang.Object` | `fatal(java.util.Map appenderAndPackages)`
`java.lang.Object` | `fatal(Object[] packages)`
`java.lang.Object` | `info(java.util.Map appenderAndPackages)`
`java.lang.Object` | `info(Object[] packages)`
`java.lang.Object` | `methodMissing(java.lang.String name, java.lang.Object args)`
`java.lang.Object` | `off(java.util.Map appenderAndPackages)`
`java.lang.Object` | `off(Object[] packages)`
`java.lang.Object` | `production(groovy.lang.Closure callable)`
`java.lang.Object` | `removeAppender(java.lang.String name)`
`Logger` | `root(groovy.lang.Closure c)`
`java.lang.Object` | `test(groovy.lang.Closure callable)`
`java.lang.Object` | `trace(java.util.Map appenderAndPackages)`
`java.lang.Object` | `trace(Object[] packages)`
`java.lang.Object` | `warn(java.util.Map appenderAndPackages)`
`java.lang.Object` | `warn(Object[] packages)`

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Property Detail

### APPENDERS

    static final java.lang.Object APPENDERS

### DEFAULT_PATTERN_LAYOUT

    static final java.lang.Object DEFAULT_PATTERN_LAYOUT

### LAYOUTS

    static final java.lang.Object LAYOUTS

Method Detail

### all

    java.lang.Object all(java.util.Map appenderAndPackages)

### all

    java.lang.Object all(Object[] packages)

### appender

    java.lang.Object appender(java.util.Map name, Appender instance)

### appender

    java.lang.Object appender(Appender instance)

### appenders

    java.lang.Object appenders(groovy.lang.Closure callable)

### configure

    java.lang.Object configure()

### configure

    java.lang.Object configure(groovy.lang.Closure callable)

### debug

    java.lang.Object debug(java.util.Map appenderAndPackages)

### debug

    java.lang.Object debug(Object[] packages)

### development

    java.lang.Object development(groovy.lang.Closure callable)

### eachLogger

    java.lang.Object eachLogger(java.lang.Object packages, groovy.lang.Closure callable)

### environments

    java.lang.Object environments(groovy.lang.Closure callable)

### error

    java.lang.Object error(java.util.Map appenderAndPackages)

### error

    java.lang.Object error(Object[] packages)

### fatal

    java.lang.Object fatal(java.util.Map appenderAndPackages)

### fatal

    java.lang.Object fatal(Object[] packages)

### info

    java.lang.Object info(java.util.Map appenderAndPackages)

### info

    java.lang.Object info(Object[] packages)

### methodMissing

    java.lang.Object methodMissing(java.lang.String name, java.lang.Object args)

### off

    java.lang.Object off(java.util.Map appenderAndPackages)

### off

    java.lang.Object off(Object[] packages)

### production

    java.lang.Object production(groovy.lang.Closure callable)

### removeAppender

    java.lang.Object removeAppender(java.lang.String name)

### root

    Logger root(groovy.lang.Closure c)

### test

    java.lang.Object test(groovy.lang.Closure callable)

### trace

    java.lang.Object trace(java.util.Map appenderAndPackages)

### trace

    java.lang.Object trace(Object[] packages)

### warn

    java.lang.Object warn(java.util.Map appenderAndPackages)

### warn

    java.lang.Object warn(Object[] packages)

Groovy Documentation