java.lang.Object | ||
↳ | org.apache.log4j.Priority | |
↳ | org.apache.log4j.Level |
Defines the minimum set of levels recognized by the system, that is
OFF
, FATAL
, ERROR
,
WARN
, INFO
DEBUG and
ALL
.
The Level
class may be subclassed to define a larger
level set.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TRACE_INT | TRACE level integer value. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.log4j.Priority
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ALL | The ALL has the lowest possible rank and is intended to
turn on all logging. |
||||||||||
DEBUG | The DEBUG Level designates fine-grained
informational events that are most useful to debug an
application. |
||||||||||
ERROR | The ERROR level designates error events that
might still allow the application to continue running. |
||||||||||
FATAL | The FATAL level designates very severe error
events that will presumably lead the application to abort. |
||||||||||
INFO | The INFO level designates informational messages
that highlight the progress of the application at coarse-grained
level. |
||||||||||
OFF | The OFF has the highest possible rank and is
intended to turn off logging. |
||||||||||
TRACE | The TRACE Level designates finer-grained
informational events than the DEBUG
| ||||||||||
WARN | The WARN level designates potentially harmful situations. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.log4j.Priority
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a Level object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert the string passed as argument to a level.
| |||||||||||
Convert an integer passed as argument to a level.
| |||||||||||
Convert an integer passed as argument to a level.
| |||||||||||
Convert the string passed as argument to a level.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.log4j.Priority
| |||||||||||
From class
java.lang.Object
|
TRACE level integer value.
The ALL
has the lowest possible rank and is intended to
turn on all logging.
The DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.
The ERROR
level designates error events that
might still allow the application to continue running.
The FATAL
level designates very severe error
events that will presumably lead the application to abort.
The INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
The OFF
has the highest possible rank and is
intended to turn off logging.
The TRACE
Level designates finer-grained
informational events than the DEBUG
Instantiate a Level object.
Convert the string passed as argument to a level. If the
conversion fails, then this method returns the value of
defaultLevel
.
Convert an integer passed as argument to a level. If the
conversion fails, then this method returns DEBUG
.
Convert an integer passed as argument to a level. If the conversion fails, then this method returns the specified default.
Convert the string passed as argument to a level. If the
conversion fails, then this method returns DEBUG
.