Package: org.slf4j.impl

## [Java] Class GrailsLog4jLoggerAdapter

- org.slf4j.impl.GrailsLog4jLoggerAdapter

- A Log4j adapter that produces cleaner, more informative stack traces,

  Authors:
    Graeme Rocher
  Since:
    2.0

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class org.slf4j.helpers.MarkerIgnoringBase` | `ROOT_LOGGER_NAME`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `GrailsLog4jLoggerAdapter (org.apache.log4j.Logger logger)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `debug(java.lang.String msg)`
    `void` | `debug(java.lang.String format, java.lang.Object arg)`
    `void` | `debug(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)`
    `void` | `debug(java.lang.String format, java.lang.Object... argArray)`
    `void` | `debug(java.lang.String msg, java.lang.Throwable t)`
    `void` | `error(java.lang.String msg)`
    `void` | `error(java.lang.String format, java.lang.Object arg)`
    `void` | `error(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)`
    `void` | `error(java.lang.String format, java.lang.Object... argArray)`
    `void` | `error(java.lang.String msg, java.lang.Throwable t)`
    `void` | `info(java.lang.String msg)`
    `void` | `info(java.lang.String format, java.lang.Object arg)`
    `void` | `info(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)`
    `void` | `info(java.lang.String format, java.lang.Object... argArray)`
    `void` | `info(java.lang.String msg, java.lang.Throwable t)`
    `boolean` | `isDebugEnabled()`
    `boolean` | `isErrorEnabled()`
    `boolean` | `isInfoEnabled()`
    `boolean` | `isTraceEnabled()`
    `boolean` | `isWarnEnabled()`
    `void` | `trace(java.lang.String msg)`
    `void` | `trace(java.lang.String format, java.lang.Object arg)`
    `void` | `trace(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)`
    `void` | `trace(java.lang.String format, java.lang.Object... argArray)`
    `void` | `trace(java.lang.String msg, java.lang.Throwable t)`
    `void` | `warn(java.lang.String msg)`
    `void` | `warn(java.lang.String format, java.lang.Object arg)`
    `void` | `warn(java.lang.String format, java.lang.Object... argArray)`
    `void` | `warn(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)`
    `void` | `warn(java.lang.String msg, java.lang.Throwable t)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class org.slf4j.helpers.MarkerIgnoringBase` | `org.slf4j.helpers.MarkerIgnoringBase#toString(), org.slf4j.helpers.MarkerIgnoringBase#getName(), org.slf4j.helpers.MarkerIgnoringBase#debug(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#debug(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#debug(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#debug(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#debug(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#error(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#error(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#error(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#error(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#error(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#trace(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#trace(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#trace(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#trace(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#trace(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#isInfoEnabled(org.slf4j.Marker), org.slf4j.helpers.MarkerIgnoringBase#warn(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#warn(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#warn(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#warn(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#warn(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#isDebugEnabled(org.slf4j.Marker), org.slf4j.helpers.MarkerIgnoringBase#isWarnEnabled(org.slf4j.Marker), org.slf4j.helpers.MarkerIgnoringBase#isErrorEnabled(org.slf4j.Marker), org.slf4j.helpers.MarkerIgnoringBase#isTraceEnabled(org.slf4j.Marker), org.slf4j.helpers.MarkerIgnoringBase#info(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#info(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#info(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#info(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#info(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#wait(long, int), org.slf4j.helpers.MarkerIgnoringBase#wait(long), org.slf4j.helpers.MarkerIgnoringBase#wait(), org.slf4j.helpers.MarkerIgnoringBase#equals(java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#hashCode(), org.slf4j.helpers.MarkerIgnoringBase#getClass(), org.slf4j.helpers.MarkerIgnoringBase#notify(), org.slf4j.helpers.MarkerIgnoringBase#notifyAll(), org.slf4j.helpers.MarkerIgnoringBase#debug(java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#debug(java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#debug(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#debug(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#debug(java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#error(java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#error(java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#error(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#error(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#error(java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#trace(java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#trace(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#trace(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#trace(java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#trace(java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#isInfoEnabled(), org.slf4j.helpers.MarkerIgnoringBase#warn(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#warn(java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#warn(java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#warn(java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#warn(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#isDebugEnabled(), org.slf4j.helpers.MarkerIgnoringBase#isWarnEnabled(), org.slf4j.helpers.MarkerIgnoringBase#isErrorEnabled(), org.slf4j.helpers.MarkerIgnoringBase#isTraceEnabled(), org.slf4j.helpers.MarkerIgnoringBase#info(java.lang.String, java.lang.Object), org.slf4j.helpers.MarkerIgnoringBase#info(java.lang.String), org.slf4j.helpers.MarkerIgnoringBase#info(java.lang.String, java.lang.Throwable), org.slf4j.helpers.MarkerIgnoringBase#info(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.MarkerIgnoringBase#info(java.lang.String, java.lang.Object, java.lang.Object)`
    `class org.slf4j.helpers.NamedLoggerBase` | `org.slf4j.helpers.NamedLoggerBase#getName(), org.slf4j.helpers.NamedLoggerBase#wait(long, int), org.slf4j.helpers.NamedLoggerBase#wait(long), org.slf4j.helpers.NamedLoggerBase#wait(), org.slf4j.helpers.NamedLoggerBase#equals(java.lang.Object), org.slf4j.helpers.NamedLoggerBase#toString(), org.slf4j.helpers.NamedLoggerBase#hashCode(), org.slf4j.helpers.NamedLoggerBase#getClass(), org.slf4j.helpers.NamedLoggerBase#notify(), org.slf4j.helpers.NamedLoggerBase#notifyAll(), org.slf4j.helpers.NamedLoggerBase#debug(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#debug(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#debug(java.lang.String), org.slf4j.helpers.NamedLoggerBase#debug(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#debug(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.NamedLoggerBase#debug(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#debug(java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#debug(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#debug(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#debug(java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#error(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.NamedLoggerBase#error(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#error(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#error(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#error(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#error(java.lang.String), org.slf4j.helpers.NamedLoggerBase#error(java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#error(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#error(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#error(java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#trace(java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#trace(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#trace(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#trace(java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#trace(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#trace(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#trace(java.lang.String), org.slf4j.helpers.NamedLoggerBase#trace(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#trace(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#trace(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.NamedLoggerBase#isInfoEnabled(org.slf4j.Marker), org.slf4j.helpers.NamedLoggerBase#isInfoEnabled(), org.slf4j.helpers.NamedLoggerBase#warn(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#warn(java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#warn(java.lang.String), org.slf4j.helpers.NamedLoggerBase#warn(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.NamedLoggerBase#warn(java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#warn(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#warn(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#warn(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#warn(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#warn(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#isDebugEnabled(), org.slf4j.helpers.NamedLoggerBase#isDebugEnabled(org.slf4j.Marker), org.slf4j.helpers.NamedLoggerBase#isWarnEnabled(org.slf4j.Marker), org.slf4j.helpers.NamedLoggerBase#isWarnEnabled(), org.slf4j.helpers.NamedLoggerBase#isErrorEnabled(), org.slf4j.helpers.NamedLoggerBase#isErrorEnabled(org.slf4j.Marker), org.slf4j.helpers.NamedLoggerBase#isTraceEnabled(org.slf4j.Marker), org.slf4j.helpers.NamedLoggerBase#isTraceEnabled(), org.slf4j.helpers.NamedLoggerBase#info(java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#info(java.lang.String), org.slf4j.helpers.NamedLoggerBase#info(org.slf4j.Marker, java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#info(org.slf4j.Marker, java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#info(java.lang.String, java.lang.Throwable), org.slf4j.helpers.NamedLoggerBase#info(org.slf4j.Marker, java.lang.String), org.slf4j.helpers.NamedLoggerBase#info(org.slf4j.Marker, java.lang.String, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#info(java.lang.String, [Ljava.lang.Object;), org.slf4j.helpers.NamedLoggerBase#info(java.lang.String, java.lang.Object, java.lang.Object), org.slf4j.helpers.NamedLoggerBase#info(org.slf4j.Marker, java.lang.String, java.lang.Object, java.lang.Object)`

- - ### Constructor Detail

    - #### public GrailsLog4jLoggerAdapter(org.apache.log4j.Logger logger)

  - ### Method Detail

    - #### public void debug(java.lang.String msg)

    - #### public void debug(java.lang.String format, java.lang.Object arg)

    - #### public void debug(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)

    - #### public void debug(java.lang.String format, java.lang.Object... argArray)

    - #### public void debug(java.lang.String msg, java.lang.Throwable t)

    - #### public void error(java.lang.String msg)

    - #### public void error(java.lang.String format, java.lang.Object arg)

    - #### public void error(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)

    - #### public void error(java.lang.String format, java.lang.Object... argArray)

    - #### public void error(java.lang.String msg, java.lang.Throwable t)

    - #### public void info(java.lang.String msg)

    - #### public void info(java.lang.String format, java.lang.Object arg)

    - #### public void info(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)

    - #### public void info(java.lang.String format, java.lang.Object... argArray)

    - #### public void info(java.lang.String msg, java.lang.Throwable t)

    - #### public boolean isDebugEnabled()

    - #### public boolean isErrorEnabled()

    - #### public boolean isInfoEnabled()

    - #### public boolean isTraceEnabled()

    - #### public boolean isWarnEnabled()

    - #### public void trace(java.lang.String msg)

    - #### public void trace(java.lang.String format, java.lang.Object arg)

    - #### public void trace(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)

    - #### public void trace(java.lang.String format, java.lang.Object... argArray)

    - #### public void trace(java.lang.String msg, java.lang.Throwable t)

    - #### public void warn(java.lang.String msg)

    - #### public void warn(java.lang.String format, java.lang.Object arg)

    - #### public void warn(java.lang.String format, java.lang.Object... argArray)

    - #### public void warn(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)

    - #### public void warn(java.lang.String msg, java.lang.Throwable t)