QuickLog

 

§      void QuickLog  (const char* pModuleStr, const char* pCaseStr, const char* pText);

§      void QuickLogEx (const char* pModuleStr, const char* pCaseStr, const char* pText,
 int LogLevel, const char* pLogChannelName);

 

Purpose:

§      output a logmessage in the given logchannel or "StdLog" logchannel

 

Parameters:

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

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

§      pText (Input): Logmessage text.

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

 

Actions:

§      If the logchannel is open then the logmessage is queued in that logchannel’s output messages buffer. A short time later it should be written to file.

§      Else the message is ignored.

 

Return value:

§      none