ITLogMsg.WillBeLoggedTo

 

Function WillBeLoggedTo(LogChannelName As String) As Boolean

 

Purpose:

§      determine whether the logmessage will be logged to the specified (forwarding) logchannel

 

Parameters:

§      LogChannelName (Input): The name of the logchannel.

 

Return value:

§      True if the logmessage will be logged to the specified logchannel (is created , but not cancelled or already sent)

§      False otherwise

 

Notes:

§      Whether the logmessage should be logged or not is computed during the creation operation. The write-out filter of the logchannel the logmessage is linked to determines which logmessages should be logged and which not. See Creating ITLogMsg objects.

 

See Also:

§      WillBeLogged

§      IsNullLogMsg