logahawk
Class SeverityFilterLogger

java.lang.Object
  extended by logahawk.AbstractLogger
      extended by logahawk.ProxyLogger
          extended by logahawk.FilterLogger
              extended by logahawk.SeverityFilterLogger
All Implemented Interfaces:
Logger

@ThreadSafe
public class SeverityFilterLogger
extends FilterLogger

This wraps another Logger only filters out log requests whose Severity that are disabled.


Nested Class Summary
protected static class SeverityFilterLogger.SevFilterAdapter
          Adapts SeverityFilter to FilterLogger.Filter
 
Nested classes/interfaces inherited from class logahawk.FilterLogger
FilterLogger.Filter
 
Field Summary
 
Fields inherited from class logahawk.ProxyLogger
logger
 
Fields inherited from interface logahawk.Logger
LINE_SEPARATOR
 
Constructor Summary
SeverityFilterLogger(Logger logger)
           
SeverityFilterLogger(Logger logger, SeverityFilter severityFilter)
           
 
Method Summary
 
Methods inherited from class logahawk.FilterLogger
log
 
Methods inherited from class logahawk.AbstractLogger
alert, debug, error, fatal, info, panic, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeverityFilterLogger

public SeverityFilterLogger(Logger logger)

SeverityFilterLogger

public SeverityFilterLogger(Logger logger,
                            SeverityFilter severityFilter)