CDPLogHelper
Type Aliases
void(* | RawLogFunc |
Functions
CDPLogHelper |
|
void | logError |
void | logWarning |
void | logInfo |
void | logDebug |
Detailed Description
-
class
CDPLogHelper
Helper class to do bind to the raw log func provided by the host.
Public Types
-
typedef void (*
RawLogFunc
)(int level, const char *message) 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.
Public Functions
-
inline
CDPLogHelper
(RawLogFunc rawLogFunc) Create a helper by providing the rawLogFunc (as provided in the CDP_FrameworkServices)
-
inline void
logError
(const std::string &message) Log error message.
-
inline void
logWarning
(const std::string &message) Log warning message.
-
inline void
logInfo
(const std::string &message) Log info message.
-
inline void
logDebug
(const std::string &message) Log debug message.
-
typedef void (*