public class PrintStreamLogger extends DefaultLogger
System.in and System.err to log messagesthreshold| Constructor and Description |
|---|
PrintStreamLogger(PrintStream out,
PrintStream err)
Uses
Channel.INFO as default threshold. |
PrintStreamLogger(PrintStream out,
PrintStream err,
Channel threshold) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalLog(Channel channel,
String message)
Internal method used by
DefaultLogger to send processed message to the final implementation. |
exception, log, setThreshold, toPrintStreampublic PrintStreamLogger(PrintStream out, PrintStream err, Channel threshold)
public PrintStreamLogger(PrintStream out, PrintStream err)
Channel.INFO as default threshold.protected void internalLog(Channel channel, String message)
DefaultLoggerDefaultLogger to send processed message to the final implementation.internalLog in class DefaultLoggerchannel - the channel to log tomessage - the message to logCopyright © 2021. All rights reserved.