Go to the source code of this file.
◆ foreach_vlib_log_level
#define foreach_vlib_log_level |
Value:_(0, EMERG, emerg) \
_(1, ALERT, alert) \
_(2, CRIT, crit) \
_(3, ERR, err) \
_(4, WARNING, warn) \
_(5, NOTICE, notice) \
_(8, DISABLED, disabled)
Definition at line 21 of file log.h.
◆ vlib_log_alert
#define vlib_log_alert |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_ALERT, __VA_ARGS__) |
◆ vlib_log_crit
#define vlib_log_crit |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_CRIT, __VA_ARGS__) |
◆ vlib_log_debug
#define vlib_log_debug |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_DEBUG, __VA_ARGS__) |
◆ vlib_log_emerg
#define vlib_log_emerg |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_EMERG, __VA_ARGS__) |
Definition at line 99 of file log.h.
◆ vlib_log_err
#define vlib_log_err |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_ERR, __VA_ARGS__) |
◆ vlib_log_info
#define vlib_log_info |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_INFO, __VA_ARGS__) |
◆ vlib_log_notice
#define vlib_log_notice |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_NOTICE, __VA_ARGS__) |
◆ vlib_log_warn
#define vlib_log_warn |
( |
|
... | ) |
vlib_log(VLIB_LOG_LEVEL_WARNING, __VA_ARGS__) |
◆ vlib_log_level_t
Enumerator |
---|
foreach_vlib_log_level | |
Definition at line 32 of file log.h.
◆ format_vlib_log_class()
u8* format_vlib_log_class |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 73 of file log.c.
◆ last_log_entry()
Definition at line 30 of file log.c.
◆ vlib_log()
Definition at line 87 of file log.c.
◆ vlib_log_get_indent()
u32 vlib_log_get_indent |
( |
| ) |
|
◆ vlib_log_register_class()
◆ log_main
Definition at line 21 of file log.c.