jetbrains.buildServer.log
Class CategoryFilter

java.lang.Object
  extended by org.apache.log4j.spi.Filter
      extended by jetbrains.buildServer.log.CategoryFilter
All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler

public class CategoryFilter
extends org.apache.log4j.spi.Filter


Field Summary
 
Fields inherited from class org.apache.log4j.spi.Filter
ACCEPT, DENY, NEUTRAL, next
 
Constructor Summary
CategoryFilter()
           
 
Method Summary
 int decide(org.apache.log4j.spi.LoggingEvent loggingEvent)
          If the decision is DENY, then the event will be dropped.
 void setDenyCategory(java.lang.String denyCategory)
           
 void setMaxDenyLevel(org.apache.log4j.Level level)
           
 
Methods inherited from class org.apache.log4j.spi.Filter
activateOptions, getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryFilter

public CategoryFilter()
Method Detail

decide

public int decide(org.apache.log4j.spi.LoggingEvent loggingEvent)
Description copied from class: org.apache.log4j.spi.Filter

If the decision is DENY, then the event will be dropped. If the decision is NEUTRAL, then the next filter, if any, will be invoked. If the decision is ACCEPT then the event will be logged without consulting with other filters in the chain.

Specified by:
decide in class org.apache.log4j.spi.Filter
Parameters:
loggingEvent - The LoggingEvent to decide upon.
Returns:
decision The decision of the filter.

setDenyCategory

public void setDenyCategory(java.lang.String denyCategory)

setMaxDenyLevel

public void setMaxDenyLevel(org.apache.log4j.Level level)