Ceetron Result Calculator Framework
Public Types | Public Member Functions | List of all members
CRCLogHelper Class Reference

Helper class to do bind to the raw log func provided by the host. More...

Public Types

typedef void(* RawLogFunc) (int level, const char *message)
 The logger function provided by the CRC_FrameworkServices. More...
 

Public Member Functions

 CRCLogHelper (RawLogFunc rawLogFunc)
 Create a helper by providing the rawLogFunc (as provided in the CRC_FrameworkServices)
 
void logError (const std::string &message)
 Log error message.
 
void logWarning (const std::string &message)
 Log warning message.
 
void logInfo (const std::string &message)
 Log info message.
 
void logDebug (const std::string &message)
 Log debug message.
 

Detailed Description

Helper class to do bind to the raw log func provided by the host.

Member Typedef Documentation

CRCLogHelper::RawLogFunc

The logger function provided by the CRC_FrameworkServices.

This is used to allow the plugin to log into whatever logging system the host app uses.


The documentation for this class was generated from the following files: