net.i2p.jetty

## Class I2PLogger

- java.lang.Object
- - net.i2p.jetty.I2PLogger

- All Implemented Interfaces:
    Logger

      public class I2PLogger
      extends Object
      implements Logger

  Modified from Jetty 6.1.26 StdErrLog.java and Slf4jLog.java Usage: org.eclipse.log.Log.setLog(new I2PLogger(ctx));

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `I2PLogger()`
    `I2PLogger(I2PAppContext ctx)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `debug(String msg, long arg)`
    `void` | `debug(String msg, Object... args)`
    `void` | `debug(String msg, Object arg0, Object arg1)`
    `void` | `debug(String msg, Throwable th)`
    `void` | `debug(Throwable thrown)`
    `Logger` | `getLogger(String name)`
    `String` | `getName()`
    `void` | `ignore(Throwable ignored)`
    `void` | `info(String msg, Object... args)`
    `void` | `info(String msg, Object arg0, Object arg1)`
    `void` | `info(String msg, Throwable th)`
    `void` | `info(Throwable thrown)`
    `boolean` | `isDebugEnabled()`
    `void` | `setDebugEnabled(boolean enabled)`
    `String` | `toString()`
    `void` | `warn(String msg, Object... args)`
    `void` | `warn(String msg, Object arg0, Object arg1)`
    `void` | `warn(String msg, Throwable th)`
    `void` | `warn(Throwable thrown)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### I2PLogger

          public I2PLogger()

    - #### I2PLogger

          public I2PLogger(I2PAppContext ctx)

  - ### Method Detail

    - #### debug

          public void debug(String msg,
                            long arg)

      Specified by:
        `debug` in interface `Logger`

    - #### debug

          public void debug(String msg,
                            Object... args)

      Specified by:
        `debug` in interface `Logger`

    - #### debug

          public void debug(String msg,
                            Object arg0,
                            Object arg1)

    - #### debug

          public void debug(String msg,
                            Throwable th)

      Specified by:
        `debug` in interface `Logger`

    - #### debug

          public void debug(Throwable thrown)

      Specified by:
        `debug` in interface `Logger`

    - #### getLogger

          public Logger getLogger(String name)

      Specified by:
        `getLogger` in interface `Logger`

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `Logger`

    - #### ignore

          public void ignore(Throwable ignored)

      Specified by:
        `ignore` in interface `Logger`

    - #### info

          public void info(String msg,
                           Object... args)

      Specified by:
        `info` in interface `Logger`

    - #### info

          public void info(String msg,
                           Object arg0,
                           Object arg1)

    - #### info

          public void info(String msg,
                           Throwable th)

      Specified by:
        `info` in interface `Logger`

    - #### info

          public void info(Throwable thrown)

      Specified by:
        `info` in interface `Logger`

    - #### isDebugEnabled

          public boolean isDebugEnabled()

      Specified by:
        `isDebugEnabled` in interface `Logger`

    - #### setDebugEnabled

          public void setDebugEnabled(boolean enabled)

      Specified by:
        `setDebugEnabled` in interface `Logger`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### warn

          public void warn(String msg,
                           Object... args)

      Specified by:
        `warn` in interface `Logger`

    - #### warn

          public void warn(String msg,
                           Object arg0,
                           Object arg1)

    - #### warn

          public void warn(String msg,
                           Throwable th)

      Specified by:
        `warn` in interface `Logger`

    - #### warn

          public void warn(Throwable thrown)

      Specified by:
        `warn` in interface `Logger`