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) 2014 Eike Stepper (Berlin, 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