public final class JkBraceLogDecorator extends JkLog.JkLogDecorator
| Constructor and Description |
|---|
JkBraceLogDecorator() |
| 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. |
void |
init(java.io.PrintStream targetOut,
java.io.PrintStream targetErr)
This method is invoked by JkLog when a new consumer is applied on.
|
static void |
setMaxLength(int maxLength) |
getTargetErr, getTargetOutpublic void init(java.io.PrintStream targetOut,
java.io.PrintStream targetErr)
JkLog.JkLogDecoratorPrintStream for outputting decorated log eventsinit in class JkLog.JkLogDecoratorpublic static void setMaxLength(int maxLength)
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.errpublic void handle(JkLog.JkLogEvent event)
JkLog.JkLogDecoratorJkLog.JkLogDecorator.init(PrintStream, PrintStream) method.