8static const char *
const TAG =
"logger";
12 switch (this->
uart_) {
20 Serial.setDebugOutput(ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE);
25 Serial1.setDebugOutput(ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE);
29 uart_set_debug(UART_NO);
34 ESP_LOGI(TAG,
"Log initialized");
const char * get_uart_selection_()
void pre_setup()
Set up this component.
void write_msg_(const char *msg)
const char *const UART_SELECTIONS[]
@ UART_SELECTION_UART0_SWAP
Providing packet encoding functions for exchanging data with a remote host.