![]() |
Robox Library for Cpp: tools module 1.0.0
RLibCpp utilities toolset
|
Simple wrapper class to help logging messages. More...
#include <log.h>
Public Types | |
typedef const char * | p_const_char |
Pointer to const character. | |
Static Public Member Functions | |
static void | logInformation (const String &msg, const String &prefix=String(MSG_PREFIX)) |
Log an information message. | |
static void | logWarning (const String &msg, const String &prefix=String(WRN_PREFIX)) |
Log a warning message. | |
static void | logError (const String &msg, const String &prefix=String(ERR_PREFIX)) |
Log an error message. | |
Static Public Attributes | |
static const p_const_char | MSG_PREFIX |
Default prefix for information messages. | |
static const p_const_char | WRN_PREFIX |
Default prefix for warning messages. | |
static const p_const_char | ERR_PREFIX |
Default prefix for error messages. | |
Simple wrapper class to help logging messages.
typedef const char* p_const_char |
Pointer to const character.
|
static |
Log an error message.
msg | The message to log |
prefix | The prefix for the message |
|
static |
Log an information message.
msg | The message to log |
prefix | The prefix for the message |
|
static |
Log a warning message.
msg | The message to log |
prefix | The prefix for the message |
|
static |
Default prefix for error messages.
|
static |
Default prefix for information messages.
|
static |
Default prefix for warning messages.