public class LogRecordCollector extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<LogLevel> |
INITIAL_LOG_LEVELS |
static ThreadLocal<LogRecordCollector> |
RECORD_COLLECTORS |
| Constructor and Description |
|---|
LogRecordCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(LogRecord record) |
void |
dump(PrintStream out,
LogLevel threshold) |
Set<LogLevel> |
getEnabledLevels() |
List<LogRecord> |
getRecords() |
void |
reset() |
void |
setEnabledLevels(Set<LogLevel> newLevels) |
public static final ThreadLocal<LogRecordCollector> RECORD_COLLECTORS
public void reset()
public void add(LogRecord record)
public void dump(PrintStream out, LogLevel threshold)
Copyright © 2015–2016 Boleslav Bobcik - Auderis. All rights reserved.