Log4j 1.3alpha-8

Package org.apache.log4j.rule

Interface Summary
Rule A Rule evaluates to true of false given a LoggingEvent object, and can notify listeners when the underlying implementation of this Rule has it's criteria changed by using the standard PropertyChangeListener infrastructure.
 

Class Summary
AbstractRule An abstract Rule class that provides the PropertyChange support plumbing.
AndRule A Rule class implementing a logical 'and'.
ColorRule A Rule class which also holds a color
EqualsRule A Rule class which returns the result of performing equals against two strings.
ExistsRule A Rule class implementing a not null (and not empty string) check.
ExpressionRule A Rule class supporting both infix and postfix expressions, accepting any rule which is supported by the RuleFactory.
InequalityRule A Rule class implementing inequality evaluation - expects to be able to convert two values to longs.
InFixToPostFix A helper class which converts infix expressions to postfix expressions Currently grouping is supported, as well as all of the Rules supported by RuleFactory NOTE: parsing is supported through the use of StringTokenizer, which means all tokens in the expression must be separated by spaces.
LevelEqualsRule A Rule class implementing equals against two levels.
LevelInequalityRule A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
LikeRule A Rule class providing support for ORO-based regular expression syntax.
NotEqualsRule A Rule class implementing not equals against two strings.
NotRule A Rule class implementing logical not.
OrRule A Rule class implementing logical or.
PartialTextMatchRule A Rule class implementing case-insensitive partial-text matches against two strings.
RuleFactory A Factory class which, given a string representation of the rule, and a context stack, will return a Rule ready for evaluation against events.
TimestampEqualsRule A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
TimestampInequalityRule A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
 


Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.