org.eclipse.net4j.util.om.log
Class PrintLogHandler
java.lang.Object
org.eclipse.net4j.util.om.log.AbstractLogHandler
org.eclipse.net4j.util.om.log.PrintLogHandler
- All Implemented Interfaces:
- OMLogHandler
- public class PrintLogHandler
- extends AbstractLogHandler
A log handler
that appends log events to error
and output
streams.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSOLE
public static final PrintLogHandler CONSOLE
PrintLogHandler
public PrintLogHandler(PrintStream out,
PrintStream err)
PrintLogHandler
protected PrintLogHandler()
getOut
public PrintStream getOut()
- Since:
- 3.2
getErr
public PrintStream getErr()
- Since:
- 3.2
writeLog
protected void writeLog(OMLogger logger,
OMLogger.Level level,
String msg,
Throwable t)
throws Throwable
- Specified by:
writeLog
in class AbstractLogHandler
- Throws:
Throwable
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.