@ParametersAreNonnullByDefault @ThreadSafe public interface LogHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
LogHandler.Handling |
| 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.
|
LogHandler.Handling handles(Level level)
level - the log level.@Nullable TestLogRecord handle(TestLogRecord record)
record - the log record.Copyright © 2021 SPF4J. All rights reserved.