<cahute/logging.h>
– Logging control for Cahute¶
Macro definitions¶
-
CAHUTE_LOGLEVEL_INFO¶
Constant representing the
info
logging level; see Logging facilities with Cahute for more information.
-
CAHUTE_LOGLEVEL_WARNING¶
Constant representing the
warning
logging level; see Logging facilities with Cahute for more information.
-
CAHUTE_LOGLEVEL_ERROR¶
Constant representing the
error
logging level; see Logging facilities with Cahute for more information.
-
CAHUTE_LOGLEVEL_FATAL¶
Constant representing the
fatal
logging level; see Logging facilities with Cahute for more information.
-
CAHUTE_LOGLEVEL_NONE¶
Constant representing the special
none
logging level; see Logging facilities with Cahute for more information.
Function declarations¶
-
int cahute_get_log_level()¶
- Returns:
The current logging level.
-
void cahute_set_log_level(int level)¶
- Parameters:
level – The logging level to set as the current one.