|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.systinet.monitoring.Severities
This class defines severities for log events.
| Field Summary | |
static int |
ERROR
The ERROR severity designates error events that
might still allow the application to continue running. |
static java.lang.String |
ERROR_TEXT
|
static int |
FATAL
The FATAL level designates very severe error
events that will presumably lead the application to abort. |
static java.lang.String |
FATAL_TEXT
|
static int |
FINE
The FINE designates fine-grained informational
events that are most useful to debug an application. |
static java.lang.String |
FINE_TEXT
|
static int |
INFO
The INFO level designates informational messages
that highlight the progress of the application at coarse-grained
level. |
static java.lang.String |
INFO_TEXT
|
static int |
OFF
The OFF level designates is
intended to turn off logging. |
static java.lang.String |
OFF_TEXT
|
static int |
WARN
The WARN level designates potentially harmful situations. |
static java.lang.String |
WARN_TEXT
|
| Constructor Summary | |
Severities()
|
|
| Method Summary | |
static java.lang.String |
getSeverityName(int i)
Gets severity name from int value. |
static int |
severityNameToInt(java.lang.String severityName)
Converts severity name to int value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FINE
FINE designates fine-grained informational
events that are most useful to debug an application.
public static final java.lang.String FINE_TEXT
public static final int INFO
INFO level designates informational messages
that highlight the progress of the application at coarse-grained
level.
public static final java.lang.String INFO_TEXT
public static final int WARN
WARN level designates potentially harmful situations.
public static final java.lang.String WARN_TEXT
public static final int ERROR
ERROR severity designates error events that
might still allow the application to continue running.
public static final java.lang.String ERROR_TEXT
public static final int FATAL
FATAL level designates very severe error
events that will presumably lead the application to abort.
public static final java.lang.String FATAL_TEXT
public static final int OFF
OFF level designates is
intended to turn off logging.
public static final java.lang.String OFF_TEXT
| Constructor Detail |
public Severities()
| Method Detail |
public static final int severityNameToInt(java.lang.String severityName)
severityName - severity namepublic static final java.lang.String getSeverityName(int i)
i - severity int value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||