public final class PrinterLogHandler extends Object implements LogHandler
Constructor and Description |
---|
PrinterLogHandler(PrintWriter writer)
|
Modifier and Type | Method and Description |
---|---|
void |
onLog(LogEntry logEntry)
Invokes when there is new
LogEntry received from the application. |
public PrinterLogHandler(PrintWriter writer)
writer
- The write that log entries will write to.public void onLog(LogEntry logEntry)
LogHandler
LogEntry
received from the application.onLog
in interface LogHandler
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.