public final class GreedyLogPrinter extends Object implements LogHandler
LogHandler.Handling| Constructor and Description |
|---|
GreedyLogPrinter(LogPrinter handler) |
| Modifier and Type | Method and Description |
|---|---|
TestLogRecord |
handle(TestLogRecord 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)
LogHandlerhandles in interface LogHandlerlevel - the log level.public TestLogRecord handle(TestLogRecord record)
LogHandlerhandle in interface LogHandlerrecord - the log record.Copyright © 2021 SPF4J. All rights reserved.