Package | Description |
---|---|
org.spf4j.test.log |
spf4j test log backend for slf4j.
|
Modifier and Type | Method and Description |
---|---|
LogCollection<ArrayDeque<LogRecord>> |
TestLoggers.collect(Level minimumLogLevel,
int maxNrLogs,
boolean collectPrinted)
Collect up to a number of log messages.
|
<T> LogCollection<T> |
TestLoggers.collect(String category,
Level fromLevel,
boolean passThrough,
Collector<LogRecord,?,T> collector)
Collect a bunch of logs.
|
<R> LogCollection<R> |
TestLoggers.collect(String category,
Level fromLevel,
Level toLevel,
boolean passThrough,
Collector<LogRecord,?,R> collector,
ToIntFunction<List<LogHandler>> whereTo) |
<T> LogCollection<T> |
TestLoggers.collect(String category,
Level fromLevel,
Level toLevel,
boolean passThrough,
Collector<LogRecord,?,T> collector)
Collect a bunch of logs.
|
Copyright © 2018 SPF4J. All rights reserved.