log_module header More...
log_module header
Definition in file log_module.h.
Go to the source code of this file.
Macros | |
#define | LOG_ERROR_ANSI_COLOR_CODE ("\033[1;31m") |
Default ANSI color escape code for error logs. More... | |
#define | LOG_WARNING_ANSI_COLOR_CODE ("\033[1;33m") |
Default ANSI color escape code for warning logs. More... | |
#define | LOG_INFO_ANSI_COLOR_CODE ("\033[1m") |
Default ANSI color escape code for info logs. More... | |
#define | LOG_DEBUG_ANSI_COLOR_CODE ("\033[0;32m") |
Default ANSI color escape code for debug logs. More... | |
#define | LOG_RESET_ANSI_COLOR_CODE ("\033[0m") |
ANSI color escape code used for resetting color. | |
Functions | |
static void | log_write (unsigned level, const char *format,...) |
log_write overridden function for colored output More... | |
Variables | |
static const char *const | _ansi_codes [] |
ANSI color escape codes array. More... | |