See Also

ITLogMsg Class  | iTechSoftware.ITLogLib2 Namespace

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

ITLogMsg Class Members

ITLogMsg overview

Public Constructors

Public Constructor ITLogMsg Constructor Overloaded.  

Public Properties

Public Property Case The name of the Case the logmessage is connected to (read-only).
Public Property IsNullLogMsg Returns whether the logmessage is the null logmessage object.
Public Property LogChannelName The name of the logchannel the logmessage is linked to (read-only).
Public Property LogLevel The LogLevel of the logmessage (read and write).
Public Property Module The name of the Module the logmessage is connected to (read-only).
Public Property Text The current text of the logmessage (read-only), as it was streamed in by you using ITLogMsg.Add.
Public Property TimeAsString The (date and) time of the logmessage, in string form (read-only).
Public Property WillBeLogged Determines whether the logmessage will be logged or not.

Public Methods

Public Method Add Overloaded. Adds (appends) text to the logmessage.
Public Method AddLogLevel Modifies the Loglevel of the logmessage, assuring that certain bits are set.
Public Method AddParam Overloaded. 

Adds a named parameter including its value to the logmessage. See the Remarks section below.

AddParam is overloaded for several basic parameter value types (string, character, integer, float (single) and double) and has two option parameters (flags).

Its general form is:

AddParam(string ParameterName, type ParameterValue [, bool CopyValueToMsgText] [, bool CopyParamNameToMsgText]);

Public Method Cancel Cancels the logmessage, that is destroys it without sending it to the logchannel for output.
Public Method Create Overloaded. Creates a new logmessage and initializes it with the parameters given.
Public Method Dispose Used to free the object's resources.
Public Method Send Sends the logmessage -- as it currently is -- to the output logchannel it is linked to.
Public Method WillBeLoggedTo Determines whether the logmessage will be logged to a special (forwarding) logchannel.

See Also

ITLogMsg Class  | iTechSoftware.ITLogLib2 Namespace

 

 


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