public final class JkDebugLogDecorator extends JkLog.JkLogDecorator
JkIndentLogDecorator but displaying the source line where each log occurs.| Constructor and Description |
|---|
JkDebugLogDecorator() |
| Modifier and Type | Method and Description |
|---|---|
java.io.PrintStream |
getErr()
Returns the decorated out
PrintStream in order to be used as System.err |
java.io.PrintStream |
getOut()
Returns the decorated out
PrintStream in order to be used as System.out |
void |
handle(JkLog.JkLogEvent event)
Handle the specified decorator by outputting it on the streams injected in
JkLog.JkLogDecorator.init(PrintStream, PrintStream) method. |
protected void |
init(java.io.PrintStream targetOut,
java.io.PrintStream targetErr)
This method is invoked by JkLog when a new consumer is applied on.
|
getTargetErr, getTargetOutprotected void init(java.io.PrintStream targetOut,
java.io.PrintStream targetErr)
JkLog.JkLogDecoratorPrintStream for outputting decorated log eventsinit in class JkLog.JkLogDecoratorpublic void handle(JkLog.JkLogEvent event)
JkLog.JkLogDecoratorJkLog.JkLogDecorator.init(PrintStream, PrintStream) method.public java.io.PrintStream getOut()
JkLog.JkLogDecoratorPrintStream in order to be used as System.outpublic java.io.PrintStream getErr()
JkLog.JkLogDecoratorPrintStream in order to be used as System.err