Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mortbay.log
Class StdErrLog

    java.lang.Object
      org.mortbay.log.StdErrLog

All Implemented Interfaces:
  Logger

    public class StdErrLog

extends java.lang.Object
implements Logger

StdErr Logging. This implementation of the Logging facade sends all logs to StdErr with minimal formatting. If the system property DEBUG is set, then debug logs are printed if stderr is being used.

Constructor Summary
`StdErrLog()`
`StdErrLog(java.lang.String name)`

Method Summary
`void` | `debug(java.lang.String msg, java.lang.Object arg0, java.lang.Object arg1)`
`void` | `debug(java.lang.String msg, java.lang.Throwable th)`
`Logger` | `getLogger(java.lang.String name)`
`void` | `info(java.lang.String msg, java.lang.Object arg0, java.lang.Object arg1)`
`boolean` | `isDebugEnabled()`
`void` | `setDebugEnabled(boolean enabled)` Mutator used to turn debug on programatically.
`java.lang.String` | `toString()`
`void` | `warn(java.lang.String msg, java.lang.Object arg0, java.lang.Object arg1)`
`void` | `warn(java.lang.String msg, java.lang.Throwable th)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### StdErrLog

    public StdErrLog()

### StdErrLog

    public StdErrLog(java.lang.String name)

Method Detail

### isDebugEnabled

    public boolean isDebugEnabled()

  Specified by:
    `isDebugEnabled` in interface `Logger`

### setDebugEnabled

    public void setDebugEnabled(boolean enabled)

  Description copied from interface: `Logger`
  Mutator used to turn debug on programatically. Implementations operation in which case an appropriate warning message shall be generated.

  Specified by:
    `setDebugEnabled` in interface `Logger`

### info

    public void info(java.lang.String msg,
                     java.lang.Object arg0,
                     java.lang.Object arg1)

  Specified by:
    `info` in interface `Logger`

### debug

    public void debug(java.lang.String msg,
                      java.lang.Throwable th)

  Specified by:
    `debug` in interface `Logger`

### debug

    public void debug(java.lang.String msg,
                      java.lang.Object arg0,
                      java.lang.Object arg1)

  Specified by:
    `debug` in interface `Logger`

### warn

    public void warn(java.lang.String msg,
                     java.lang.Object arg0,
                     java.lang.Object arg1)

  Specified by:
    `warn` in interface `Logger`

### warn

    public void warn(java.lang.String msg,
                     java.lang.Throwable th)

  Specified by:
    `warn` in interface `Logger`

### getLogger

    public Logger getLogger(java.lang.String name)

  Specified by:
    `getLogger` in interface `Logger`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.