See Also

iTechSoftware.ITLogLib2 Namespace

Language

Visual Basic

C#

JScript

Show All

See AlsoLanguages ItLogLib2DotNet Send feedback on this topic to support@itech-software.com.

ITLogLevel Enumeration

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.

Members

MemberDescription
LEVEL_ALARMThis bit indicates that the corresponding logmessage contains an alarm message.
LEVEL_ERRORThis bit indicates that the corresponding logmessage contains an error message.
LEVEL_WARNINGThis bit indicates that the corresponding logmessage contains a warning message.
LEVEL_INFOThis bit indicates that the corresponding logmessage contains an informational message. It is the least significant bit.

Remarks

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.

See Also

iTechSoftware.ITLogLib2 Namespace

 

 


(c) 2002-2004 iTech Software GmbH, Berlin. Version 2.4, Wed 07 Jul 2004.