@ParametersAreNonnullByDefault public final class LogPrinter extends Object implements LogHandler
LogHandler.Handling
Modifier and Type | Field and Description |
---|---|
static LogPrinter |
PRINTER |
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 static final LogPrinter PRINTER
public LogHandler.Handling handles(Level level)
handles
in interface LogHandler
level
- the log level.public TestLogRecord handle(TestLogRecord record)
handle
in interface LogHandler
record
- the log record.Copyright © 2021 SPF4J. All rights reserved.