
public class PrintLogHandler extends AbstractLogHandler
| Modifier and Type | Field and Description |
|---|---|
static PrintLogHandler |
CONSOLE |
| Modifier | Constructor and Description |
|---|---|
protected |
PrintLogHandler() |
|
PrintLogHandler(PrintStream out,
PrintStream err) |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
getErr() |
PrintStream |
getOut() |
protected void |
writeLog(OMLogger logger,
OMLogger.Level level,
String msg,
Throwable t) |
getLogLevel, logged, setLogLevel, toStringpublic static final PrintLogHandler CONSOLE
public PrintLogHandler(PrintStream out, PrintStream err)
protected PrintLogHandler()
public PrintStream getOut()
public PrintStream getErr()
protected void writeLog(OMLogger logger, OMLogger.Level level, String msg, Throwable t) throws Throwable
writeLog in class AbstractLogHandlerThrowableCopyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.