public class Level extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static Level | ALLmessage level "ALL" | 
| static int | ALL_INTlevel value for level "ALL" | 
| static Level | CONFIGmessage level "CONFIG" | 
| static int | CONFIG_INTlevel value for level "CONFIG" | 
| static Level | FINEmessage level "FINE" | 
| static int | FINE_INTlevel value for level "FINE" | 
| static Level | FINERmessage level "FINER" | 
| static int | FINER_INTlevel value for level "FINER" | 
| static Level | FINESTmessage level "FINEST" | 
| static int | FINEST_INTlevel value for level "FINEST" | 
| static Level | INFOmessage level "INFO" | 
| static int | INFO_INTlevel value for level "INFO" | 
| static Level | OFFmessage level "OFF" | 
| static int | OFF_INTlevel value for level "OFF" | 
| static Level | SEVEREmessage level "SEVERE" | 
| static int | SEVERE_INTlevel value for level "SEVERE" | 
| static Level | WARNINGmessage level "WARNING" | 
| static int | WARNING_INTlevel value for level "WARNING" | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Level(int level,
     String levelText)Instantiate a new level object. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| int | hashCode() | 
| boolean | isGreaterOrEqual(Level r)method isGreaterOrEqual() returns true if the argument level is greater or equal to the
 specified level. | 
| boolean | isOn()method isOn() returns true if the message level is not OFF | 
| int | toInteger()Returns the integer representation of this level. | 
| String | toString()Returns the string representation of this priority. | 
public static final int OFF_INT
public static final int SEVERE_INT
public static final int WARNING_INT
public static final int INFO_INT
public static final int CONFIG_INT
public static final int FINE_INT
public static final int FINER_INT
public static final int FINEST_INT
public static final int ALL_INT
public static final Level OFF
public static final Level SEVERE
public static final Level WARNING
public static final Level INFO
public static final Level CONFIG
public static final Level FINE
public static final Level FINER
public static final Level FINEST
public static final Level ALL
protected Level(int level,
                String levelText)
level - level valuelevelText - level namepublic boolean equals(Object o)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean isOn()
public boolean isGreaterOrEqual(Level r)
r - argument level passed to the methodpublic final String toString()
toString in class ObjectObject.toString()public final int toInteger()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.