ITLogMsgWillBeLoggedTo

 

int ITLogMsgWillBeLoggedTo (HLOGMSG hLogMsg, const char* pLogChannelName);

 

Purpose:

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

 

Parameters:

§      hLogMsg (Input): Handle to a logmessage

§      pLogChannelName: Name of the logchannel

 

Return value:

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

§      0 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 logmessages.

 

See Also:

§      ITLogMsgWillBeLogged

§      ITLogMsgIsNullLogMsg