public final class GreedyLogPrinter extends Object implements LogHandler
LogHandler.Handling
Constructor and Description |
---|
GreedyLogPrinter(LogPrinter handler) |
Modifier and Type | Method and Description |
---|---|
LogRecord |
handle(LogRecord record)
Handler handling method
|
LogHandler.Handling |
handles(Level level)
find out if this handler should be used for the given log level.
|
String |
toString() |
public GreedyLogPrinter(LogPrinter handler)
public LogHandler.Handling handles(Level level)
LogHandler
handles
in interface LogHandler
level
- the log level.public LogRecord handle(LogRecord record)
LogHandler
handle
in interface LogHandler
record
- the log record.Copyright © 2018 SPF4J. All rights reserved.