4#ifdef USE_RP2040_CRASH_HANDLER
11static const char *
const TAG =
"logger";
15 switch (this->
uart_) {
31 ESP_LOGI(TAG,
"Log initialized");
32#ifdef USE_RP2040_CRASH_HANDLER
43 switch (this->
uart_) {
45 return LOG_STR(
"UART0");
47 return LOG_STR(
"UART1");
48#ifdef USE_LOGGER_USB_CDC
50 return LOG_STR(
"USB_CDC");
53 return LOG_STR(
"UNKNOWN");
void write_msg_(const char *msg, uint16_t len)
const LogString * get_uart_selection_()
void pre_setup()
Set up this component.
void crash_handler_log()
Log crash data if a crash was detected on previous boot.