Liblouis User's and Programmer's Manual
7.16 lou_setLogLevel ¶
typedef enum { LOU_LOG_ALL = 0, LOU_LOG_DEBUG = 10000, LOU_LOG_INFO = 20000, LOU_LOG_WARN = 30000, LOU_LOG_ERROR = 40000, LOU_LOG_FATAL = 50000, LOU_LOG_OFF = 60000 } logLevels; void lou_setLogLevel ( logLevels level);
This function can be used to influence the amount of logging, from
fatal error messages only to detailed debugging messages. Supported
values are LOU_LOG_DEBUG
, LOU_LOG_INFO
,
LOU_LOG_WARN
, LOU_LOG_ERROR
, LOU_LOG_FATAL
and
LOU_LOG_OFF
. Enabling logging at a given level also enables
logging at all higher levels. Setting the level to LOU_LOG_OFF
disables logging. The default level is LOU_LOG_INFO
.