logahawk
Class FilterLogger
java.lang.Object
logahawk.AbstractLogger
logahawk.ProxyLogger
logahawk.FilterLogger
- All Implemented Interfaces:
- Logger
- Direct Known Subclasses:
- SeverityFilterLogger
public class FilterLogger
- extends ProxyLogger
A generic filtering Logger. All filtering decisions are handled by FilterLogger.Filter.
|
Nested Class Summary |
static interface |
FilterLogger.Filter
Accepts or rejects the provided log statement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterLogger
public FilterLogger(Logger logger,
FilterLogger.Filter filter)
log
public void log(Severity severity,
Object... data)
- Description copied from interface:
Logger
- Logs message with a provide
Severity. Useful for dynamically determined Severity messages.
- Specified by:
log in interface Logger- Specified by:
log in class AbstractLogger