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