Fixed some stuff.

This commit is contained in:
Davide Paro 2021-10-19 18:41:37 +02:00
parent add04ef1d6
commit b6699aa05a

View File

@ -16,7 +16,7 @@
#define LOG_VERSION "0.1.0" #define LOG_VERSION "0.1.0"
#ifndef RXI_LOGC_DEFAULT_LEVEL #ifndef RXI_LOGC_DEFAULT_LEVEL
# define RXI_LOGC_DEFAULT_LEVEL 0 # define RXI_LOGC_DEFAULT_LEVEL 1
#endif #endif
@ -42,8 +42,8 @@ typedef void (*log_LogFn)(log_Event *ev);
typedef void (*log_LockFn)(bool lock, void *udata); typedef void (*log_LockFn)(bool lock, void *udata);
enum { enum {
LOG_DEBUG = -64, LOG_DEBUG = -32,
LOG_TRACE = -32, LOG_TRACE = 0,
LOG_INFO = 32, LOG_INFO = 32,
LOG_WARN = 64, LOG_WARN = 64,
LOG_ERROR = 96, LOG_ERROR = 96,