Class LevelInequalityRule

java.lang.Object
org.apache.log4j.rule.LevelInequalityRule

public class LevelInequalityRule extends Object
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
Author:
Scott Deboy (sdeboy@apache.org)
  • Method Details

    • getRule

      public static Rule getRule(String inequalitySymbol, String value)
      Create new rule.
      Parameters:
      inequalitySymbol - inequality symbol.
      value - Symbolic name of comparison level.
      Returns:
      instance of AbstractRule.