Browse Source

reduce log_level_t possibilities

dev
Milang 2 years ago
parent
commit
3357263c63
  1. 2
      liblog.h

2
liblog.h

@ -32,7 +32,7 @@ log_state_t ll_get_state(void);
Customs verbosities for the log stream ->messages have custom levels
Default value is LEVEL_INFO
LEVEL_QUIET disables all types of messages */
typedef enum {LEVEL_BLABLA, LEVEL_INFO, LEVEL_WARNING, LEVEL_CRITICAL, LEVEL_FATAL, LEVEL_MAX, LEVEL_QUIET} log_level_t;
typedef enum {LEVEL_BLABLA=0, LEVEL_INFO, LEVEL_WARNING, LEVEL_CRITICAL, LEVEL_FATAL, LEVEL_QUIET} log_level_t;
/* ll_set_level(log_level_t):
sets log verbosity */

Loading…
Cancel
Save