Class LevelInequalityRule
java.lang.Object
org.apache.log4j.rule.LevelInequalityRule
A Rule class implementing inequality evaluation for Levels (log4j and
util.logging) using the toInt method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classRule returning true if event level greater than or equal to specified level.private static final classRule returning true if event level greater than specified level.private static final classRule returning true if event level less than or equal to specified level.private static final classRule returning true if event level less than specified level. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleCreate new rule.private static voidPopulate list of levels.
-
Field Details
-
levelList
Level list. -
utilLoggingLevelList
List equivalents of java.util.logging levels.
-
-
Constructor Details
-
LevelInequalityRule
private LevelInequalityRule()Create new instance.
-
-
Method Details
-
populateLevels
private static void populateLevels()Populate list of levels. -
getRule
-