Ceetron Data Provider Framework
Public Types | Public Member Functions | List of all members
CDPLogHelper Class Reference

Public Types

typedef void(* RawLogFunc) (int level, const char *message)
 

Public Member Functions

 CDPLogHelper (RawLogFunc rawLogFunc)
 Create a helper by providing the rawLogFunc (as provided in the CDP_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

CDPLogHelper::RawLogFunc

The logger function provided by the CDP_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: