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, toString
public 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 AbstractLogHandler
Throwable
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.