ITLogMsgCreate

 

§      HLOGMSG ITLogMsgCreate (const char* pModuleStr, const char* pCaseStr);

§      HLOGMSG ITLogMsgCreateEx (const char* pModuleStr, const char* pCaseStr, int LogLevel, const char* pLogChannelName);

 

Purpose:

§      creates a logmessage in the given logchannel (or "StdLog" logchannel if not specified) The logmessage can be modified by subsequent calls in order to collect spread information of the logging application.

 

Parameters:

§      pModuleStr (Input): User defined specifier, describing a module or subsystem of the logging application.

§      pCaseStr (Input): User defined specifier, describing a use-case or operation of the logging application.

§      LogLevel (Input): One or more Loglevel constants (for combinations use the ‘|’ operator)
 (
LEVEL_INFO, LEVEL_WARNING, LEVEL_ERROR, LEVEL_ALARM)

§      pLogChannelName: The name of the logchannel, as defined in the configuration file.

 

Return value:

§      Handle to the generated logmessage.

 

See also:

§         QuickLog