java.lang.Object | |
↳ | org.apache.log4j.Priority |
Known Direct Subclasses |
Refrain from using this class directly, use
the Level
class instead.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ALL_INT | ||||||||||
int | DEBUG_INT | ||||||||||
int | ERROR_INT | ||||||||||
int | FATAL_INT | ||||||||||
int | INFO_INT | ||||||||||
int | OFF_INT | ||||||||||
int | WARN_INT |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEBUG |
This field is deprecated.
Use DEBUG instead.
|
||||||||||
ERROR |
This field is deprecated.
Use ERROR instead.
|
||||||||||
FATAL |
This field is deprecated.
Use FATAL instead.
|
||||||||||
INFO |
This field is deprecated.
Use INFO instead.
|
||||||||||
WARN |
This field is deprecated.
Use WARN instead.
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for deserialization.
| |||||||||||
Instantiate a level object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Two priorities are equal if their level fields are equal.
| |||||||||||
This method is deprecated.
This method will be removed with no replacement.
| |||||||||||
Return the syslog equivalent of this priority as an integer.
| |||||||||||
Returns
true if this level has a higher or equal
level than the level passed as argument, false
otherwise. | |||||||||||
Returns the integer representation of this level.
| |||||||||||
This method is deprecated.
Please use the
toLevel(String, Level) method instead.
| |||||||||||
This method is deprecated.
Please use the
toLevel(int) method instead.
| |||||||||||
This method is deprecated.
Please use the
toLevel(String) method instead.
| |||||||||||
This method is deprecated.
Please use the
toLevel(int, Level) method instead.
| |||||||||||
Returns the string representation of this priority.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Default constructor for deserialization.
Instantiate a level object.
Two priorities are equal if their level fields are equal.
This method is deprecated.
This method will be removed with no replacement.
Return all possible priorities as an array of Level objects in descending order.
Return the syslog equivalent of this priority as an integer.
Returns true
if this level has a higher or equal
level than the level passed as argument, false
otherwise.
You should think twice before overriding the default
implementation of isGreaterOrEqual
method.
Returns the integer representation of this level.
Returns the string representation of this priority.