cz.cuni.amis.nb.pogamut.base.logging
Class LogProxy.FilterLog
java.lang.Object
cz.cuni.amis.nb.pogamut.base.logging.LogProxy.FilterLog
- All Implemented Interfaces:
- LogRecordsSource.Filter<LogRecord>
- Enclosing class:
- LogProxy
protected class LogProxy.FilterLog
- extends Object
- implements LogRecordsSource.Filter<LogRecord>
Filter for log records. Records are filtered by their levels.
|
Method Summary |
boolean |
filter(LogRecord t)
Decide if given object (usually parameter of log record) will pass through this
filter. |
Level |
getLevel()
Get last level that will pass through this filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
level
protected Level level
LogProxy.FilterLog
public LogProxy.FilterLog(Level level)
getLevel
public Level getLevel()
- Get last level that will pass through this filter.
filter
public boolean filter(LogRecord t)
- Description copied from interface:
LogRecordsSource.Filter
- Decide if given object (usually parameter of log record) will pass through this
filter.
- Specified by:
filter in interface LogRecordsSource.Filter<LogRecord>
- Parameters:
t - object to be filtered.
- Returns:
- true if object was accepted.
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.