CL_LOG_LVL_SET
void CL_LOGGER_LVL_SET(CL_Logger *logger, CL_LogLevel lvl);
Sets the log level at which the logger is to output.
Parameters
logger-> the logger to modifylvl-> the log level to set
Usage
To set the level to INFO:
CL_Logger *logger = CL_LOGGER_CREATE("TEST", NULL, 1, stdout);
CL_LOGGER_LVL_SET(logger, CL_LOG_LEVEL_INFO);
// ...
CL_LOG_TRACE(logger, "will not be output")
CL_LOG_INFO(logger, "will be output");
CL_LOG_WARN(logger, "will be output");
// ...
CL_LOGGER_DESTROY(logger);