Save This Page
Home » slf4j-1.5.5 » org.apache » log4j » lf5 » [javadoc | source]
org.apache.log4j.lf5
public class: LogLevel [javadoc | source]
java.lang.Object
   org.apache.log4j.lf5.LogLevel

All Implemented Interfaces:
    Serializable

The LogLevel class defines a set of standard logging levels. The logging Level objects are ordered and are specified by ordered integers. Enabling logging at a given level also enables logging at all higher levels.
Field Summary
public static final  LogLevel FATAL     
public static final  LogLevel ERROR     
public static final  LogLevel WARN     
public static final  LogLevel INFO     
public static final  LogLevel DEBUG     
public static final  LogLevel SEVERE     
public static final  LogLevel WARNING     
public static final  LogLevel CONFIG     
public static final  LogLevel FINE     
public static final  LogLevel FINER     
public static final  LogLevel FINEST     
protected  String _label     
protected  int _precedence     
Constructor:
 public LogLevel(String label,
    int precedence) 
Method from org.apache.log4j.lf5.LogLevel Summary:
encompasses,   equals,   getAllDefaultLevels,   getJdk14Levels,   getLabel,   getLog4JLevels,   getLogLevelColorMap,   getPrecedence,   hashCode,   register,   register,   register,   resetLogLevelColorMap,   setLogLevelColorMap,   toString,   valueOf
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.lf5.LogLevel Detail:
 public boolean encompasses(LogLevel level) 
    Returns true if the level supplied is encompassed by this level. For example, LogLevel.SEVERE encompasses no other LogLevels and LogLevel.FINE encompasses all other LogLevels. By definition, a LogLevel encompasses itself.
 public boolean equals(Object o) 
 public static List getAllDefaultLevels() 
 public static List getJdk14Levels() 
 public String getLabel() 
    Return the Label of the LogLevel.
 public static List getLog4JLevels() 
 public static Map getLogLevelColorMap() 
 protected int getPrecedence() 
 public int hashCode() 
 public static LogLevel register(LogLevel logLevel) 
    Registers a used defined LogLevel.
 public static  void register(LogLevel[] logLevels) 
 public static  void register(List logLevels) 
 public static  void resetLogLevelColorMap() 
 public  void setLogLevelColorMap(LogLevel level,
    Color color) 
 public String toString() 
 public static LogLevel valueOf(String level) throws LogLevelFormatException 
    Convert a log level label into a LogLevel object.