ITLogLevel defines the level (or importance) of a logmessage, called its LogLevel. The LogLevel is displayed in the ITLogBook application and can be used there to filter logmessages.
Member | Description |
---|---|
LEVEL_ALARM | This bit indicates that the corresponding logmessage contains an alarm message. |
LEVEL_ERROR | This bit indicates that the corresponding logmessage contains an error message. |
LEVEL_WARNING | This bit indicates that the corresponding logmessage contains a warning message. |
LEVEL_INFO | This bit indicates that the corresponding logmessage contains an informational message. It is the least significant bit. |
In detail, the Loglevel of a logmessage is a combination of independent bits. The ITLogLevel enum defines the values of these bits and is able to store a combination of them. You can combine ITLogLevel values using bitwise OR. To fully support this semantic in .NET, the ITLogLevel enum is marked with System.FlagsAttribute ([FlagsAttribute]).
You can modify the Loglevel of a logmessage using the property ITLogMsg.LogLevel or the method ITLogMsg.AddLogLevel.
The default Loglevel for new logmessages is LEVEL_INFO.
iTechSoftware.ITLogLib2 Namespace
(c) 2002-2004 iTech Software GmbH, Berlin. Version 2.4, Wed 07 Jul 2004.