|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j4me.logging.Level
public class Level
Defines the logging level constants. The logging levels are as follows listed in ascending order of importance:
DEBUG
- Finely grained logging used to track down problems.
INFO
- Documents important and expected program execution.
WARN
- Used for unexpected problems that arise that do not disrupt the program.
ERROR
- Records problems that cause the program to behave improperly.
There is also an OFF
level. It is used to disable logging.
Field Summary | |
---|---|
static Level |
DEBUG
The DEBUG level designates fine-grained informational
events that are most useful to debug an application. |
static Level |
ERROR
The ERROR level designates exceptional behavior that causes
something in the application to run improperly. |
static Level |
INFO
The INFO level designates informational messages that
highlight the progress of the application at coarse-grained level. |
protected int |
levelInt
Integer representation of the level. |
static Level |
OFF
The OFF level means no log statements will be stored. |
static Level |
WARN
The WARN level designates potentially harmful situations. |
Method Summary | |
---|---|
int |
toInt()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Level DEBUG
DEBUG
level designates fine-grained informational
events that are most useful to debug an application.
public static final Level INFO
INFO
level designates informational messages that
highlight the progress of the application at coarse-grained level.
public static final Level WARN
WARN
level designates potentially harmful situations.
public static final Level ERROR
ERROR
level designates exceptional behavior that causes
something in the application to run improperly.
public static final Level OFF
OFF
level means no log statements will be stored.
protected final int levelInt
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int toInt()
setLogLevel
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |