7static const char *
const TAG =
"logger";
11 switch (this->
uart_) {
34 ESP_LOGW(TAG,
" The chosen logger UART port is not available on this board."
35 "The default port was used instead.");
43 lt_log_set_port(LT_UART_DEFAULT_SERIAL);
45 lt_log_set_port(this->
uart_ - 1);
50 ESP_LOGI(TAG,
"Log initialized");
55const char *
const UART_SELECTIONS[] = {
"DEFAULT",
"UART0",
"UART1",
"UART2"};
const char * get_uart_selection_()
void pre_setup()
Set up this component.
void write_msg_(const char *msg)
const char *const UART_SELECTIONS[]
UARTSelection
Enum for logging UART selection.
Providing packet encoding functions for exchanging data with a remote host.