42 #ifndef rrc_logging_apiH
43 #define rrc_logging_apiH
48 #if defined(__cplusplus)
121 C_DECL_SPEC
bool rrcCallConv
setLogLevel(
const char* lvl);
148 C_DECL_SPEC
void rrcCallConv
logMsg(
enum CLogLevel lvl,
const char* msg);
157 #if defined(__cplusplus)
An informational message, usually denoting the successful completion of an operation.
Definition: rrc_logging_api.h:67
Use the current level – don't change the level from what it is.
Definition: rrc_logging_api.h:61
CLogLevel
Log level enum.
Definition: rrc_logging_api.h:58
bool enableLoggingToConsole(void)
Enable logging to console.
Definition: rrc_logging_api.cpp:15
bool disableLoggingToFile()
Disable logging to logFile.
Definition: rrc_logging_api.cpp:43
bool enableLoggingToFile(RRHandle handle)
Enable logging to logFile.
Definition: rrc_logging_api.cpp:31
void logMsg(enum CLogLevel lvl, const char *msg)
Create a log message.
Definition: rrc_logging_api.cpp:76
A warning. An operation completed with an unexpected result.
Definition: rrc_logging_api.h:65
bool setLogLevel(const char *lvl)
Set the logging status level The logging level is determined by the following strings.
Definition: rrc_logging_api.cpp:51
void * RRHandle
Void pointer to a RoadRunner instance.
Definition: rrc_types.h:50
bool disableLoggingToConsole(void)
Disable logging to console.
Definition: rrc_logging_api.cpp:23
An error. An operation did not complete successfully, but the application as a whole is not affected...
Definition: rrc_logging_api.h:64
A critical error. The application might not be able to continue running successfully.
Definition: rrc_logging_api.h:63
A fatal error. The application will most likely terminate. This is the highest priority.
Definition: rrc_logging_api.h:62
char * getLogLevel(void)
Get the logging status level as a pointer to a string.
Definition: rrc_logging_api.cpp:60
char * getLogFileName(void)
Get a pointer to the string that holds the logging file name path.
Definition: rrc_logging_api.cpp:69
A notice, which is an information with just a higher priority.
Definition: rrc_logging_api.h:66
A debugging message.
Definition: rrc_logging_api.h:68