|
ITLogLib2/Java Help version: Wed 07 Jul 2004 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--de.itechsoftware.itloglib2.ITLogLevel
Provides the constants representing the various predefined bit values
of the LogLevel property of ITLogMsg instances.
The instances of class ITLogMsg have a LogLevel property
which is a combination of these predefined bit values and represents
the status or importance of the logmessage.
The loglevels (a short form of "loglevel combinations") of the logmessages are displayed in the ITLogBook application and can be used there to filter logmessages during monitoring and analysing the logging applications.
To combine the ITLogLevel bit values, use '|' (bitwise OR).
ITLogLevel bit values or their combinations can be used
for the logLevel parameter of the methods to create new
ITLogMsg instances
(,
ITLogMsg.create).
The ITOutputLogChannel.createLogMsgLogLevel of an ITLogMsg instance can also
be changed later (but still before sending it)
using ITLogMsg.addLogLevel(short) and ITLogMsg.setLogLevel(short),
for instance depending on conditions during the program execution.
ITLogMsg,
ITLogMsg.create(java.lang.String, java.lang.String),
ITOutputLogChannel.createLogMsg(java.lang.String, java.lang.String),
ITLogMsg.addLogLevel(short),
ITLogMsg.setLogLevel(short),
ITLogMsg.getLogLevel()| Field Summary | |
static short |
LEVEL_ALARM
This bit indicates that the corresponding logmessage is an alarm message. |
static short |
LEVEL_ERROR
This bit indicates that the corresponding logmessage is an error message. |
static short |
LEVEL_INFO
This bit indicates that the corresponding logmessage is an informational message. |
static short |
LEVEL_WARNING
This bit indicates that the corresponding logmessage is a warning message. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static short LEVEL_INFO
LEVEL_WARNING,
LEVEL_ERROR,
LEVEL_ALARMpublic static short LEVEL_WARNING
LEVEL_INFO,
LEVEL_ERROR,
LEVEL_ALARMpublic static short LEVEL_ERROR
LEVEL_INFO,
LEVEL_WARNING,
LEVEL_ALARMpublic static short LEVEL_ALARM
LEVEL_INFO,
LEVEL_WARNING,
LEVEL_ERROR
|
ITLogLib2/Java Help version: Wed 07 Jul 2004 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||