#include <cstdarg>
#include <cstdint>
Go to the source code of this file.
|
#define | GNUC_ATTRIBUTE(x) |
|
#define | log_error(sys, ...) log_log(LEVEL_ERROR, sys, __VA_ARGS__) |
|
#define | log_warn(sys, ...) log_log(LEVEL_WARN, sys, __VA_ARGS__) |
|
#define | log_info(sys, ...) log_log(LEVEL_INFO, sys, __VA_ARGS__) |
|
#define | log_debug(sys, ...) log_log(LEVEL_DEBUG, sys, __VA_ARGS__) |
|
#define | log_trace(sys, ...) log_log(LEVEL_TRACE, sys, __VA_ARGS__) |
|
#define | log_error_color(color, sys, ...) log_log_color(LEVEL_ERROR, color, sys, __VA_ARGS__) |
|
#define | log_warn_color(color, sys, ...) log_log_color(LEVEL_WARN, color, sys, __VA_ARGS__) |
|
#define | log_info_color(color, sys, ...) log_log_color(LEVEL_INFO, color, sys, __VA_ARGS__) |
|
#define | log_debug_color(color, sys, ...) log_log_color(LEVEL_DEBUG, color, sys, __VA_ARGS__) |
|
#define | log_trace_color(color, sys, ...) log_log_color(LEVEL_TRACE, color, sys, __VA_ARGS__) |
|
|
void | log_log (LEVEL level, const char *sys, const char *fmt,...) |
|
void | log_log_color (LEVEL level, LOG_COLOR color, const char *sys, const char *fmt,...) |
|
void | log_log_v (LEVEL level, const char *sys, const char *fmt, va_list args) |
|
void | log_log_color_v (LEVEL level, LOG_COLOR color, const char *sys, const char *fmt, va_list args) |
|
◆ GNUC_ATTRIBUTE
#define GNUC_ATTRIBUTE |
( |
|
x | ) |
|
◆ log_debug
◆ log_debug_color
◆ log_error
◆ log_error_color
◆ log_info
◆ log_info_color
◆ log_trace
◆ log_trace_color
◆ log_warn
◆ log_warn_color
◆ LEVEL
Enumerator |
---|
LEVEL_ERROR | |
LEVEL_WARN | |
LEVEL_INFO | |
LEVEL_DEBUG | |
LEVEL_TRACE | |