ITLogMsg::IsNullLogMsg

 

bool ITLogMsg::IsNullLogMsg();

 

Purpose:

§      determine whether the logmessage was created or suppressed

§      

Return value:

§      true if the creation of the logmessage was suppressed, because ITLogLib is not initialized, its output logchannel was not open or assigned to an output filter preventing the output of the logmessage

§      false if the logmessage was created

 

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:

§      ITLogMsg.WillBeLogged

§      ITLogMsg.WillBeLoggedTo