|
|
ChaosDMX
Open-Source DMX-Interface
|
Project-wide logging macros based on ESP-IDF's logging library. More...
#include "esp_log.h"Go to the source code of this file.
Macros | |
| #define | LOG_TAG "CHAOS" |
| Default log tag. | |
| #define | LOGE(...) |
| Log a message at Error level. | |
| #define | LOGW(...) |
| Log a message at Warning level. | |
| #define | LOGI(...) |
| Log a message at Info level. | |
| #define | LOGD(...) |
| Log a message at Debug level. | |
| #define | LOGV(...) |
| Log a message at Verbose level. | |
Project-wide logging macros based on ESP-IDF's logging library.
This header provides a set of simple logging macros (LOGE, LOGW, LOGI, etc.) that wrap the underlying ESP-IDF logging functions (esp_log_e, esp_log_w, etc.).
To use these macros, a LOG_TAG should be defined before including this header. The LOG_TAG is a string that identifies the source of the log messages, typically the component or file name. If LOG_TAG is not defined, a default tag "CHAOS" will be used.
Definition in file logger.h.
| #define LOGD | ( | ... | ) |
Log a message at Debug level.
| #define LOGE | ( | ... | ) |
Log a message at Error level.
Definition at line 38 of file logger.h.
Referenced by app_main(), button_init(), config_init(), config_save(), config_set_wifi_ap_config(), config_set_wifi_sta_config(), storage_init(), storage_print_info(), system_init(), update_led_generator_unsafe(), webserver_register_handler(), and webserver_start().
| #define LOGI | ( | ... | ) |
Log a message at Info level.
Definition at line 42 of file logger.h.
Referenced by app_main(), button_init(), config_init(), config_reset_defaults(), config_save(), config_set_connection(), config_set_led_brightness(), execute_button_action(), iot_button_double_click_cb(), iot_button_multiple_click_cb(), iot_button_single_click_cb(), storage_init(), storage_print_info(), system_init(), system_print_info(), webserver_register_handler(), webserver_start(), webserver_stop(), webserver_task(), wifi_start_ap(), and wifi_stop_ap().
| #define LOGV | ( | ... | ) |
| #define LOGW | ( | ... | ) |
Log a message at Warning level.
Definition at line 40 of file logger.h.
Referenced by app_main(), config_init(), static_file_handler(), system_init(), and webserver_start().