public class PrintLogHandler extends AbstractLogHandler
| Modifier and Type | Field and Description |
|---|---|
static PrintLogHandler |
CONSOLE |
| Modifier | Constructor and Description |
|---|---|
protected |
PrintLogHandler() |
|
PrintLogHandler(java.io.PrintStream out,
java.io.PrintStream err) |
| Modifier and Type | Method and Description |
|---|---|
java.io.PrintStream |
getErr() |
java.io.PrintStream |
getOut() |
protected void |
writeLog(OMLogger logger,
OMLogger.Level level,
java.lang.String msg,
java.lang.Throwable t) |
getLogLevel, logged, setLogLevel, toStringpublic static final PrintLogHandler CONSOLE
public PrintLogHandler(java.io.PrintStream out,
java.io.PrintStream err)
protected PrintLogHandler()
public java.io.PrintStream getOut()
public java.io.PrintStream getErr()
protected void writeLog(OMLogger logger, OMLogger.Level level, java.lang.String msg, java.lang.Throwable t) throws java.lang.Throwable
writeLog in class AbstractLogHandlerjava.lang.ThrowableCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html