ESPHome  1.15.2
Data Structures | Enumerations | Variables
esphome::logger Namespace Reference

Data Structures

class  Logger
 
class  LoggerMessageTrigger
 

Enumerations

enum  UARTSelection { UART_SELECTION_UART0 = 0, UART_SELECTION_UART1, UART_SELECTION_UART0_SWAP }
 Enum for logging UART selection. More...
 

Variables

const char * LOG_LEVELS [] = {"NONE", "ERROR", "WARN", "INFO", "CONFIG", "DEBUG", "VERBOSE", "VERY_VERBOSE"}
 
const char * UART_SELECTIONS [] = {"UART0", "UART1", "UART2"}
 
Loggerglobal_logger = nullptr
 

Enumeration Type Documentation

◆ UARTSelection

Enum for logging UART selection.

Advanced configuration (pin selection, etc) is not supported.

Enumerator
UART_SELECTION_UART0 
UART_SELECTION_UART1 
UART_SELECTION_UART0_SWAP 

Definition at line 17 of file logger.h.

Variable Documentation

◆ global_logger

Logger * esphome::logger::global_logger = nullptr

Definition at line 195 of file logger.cpp.

◆ LOG_LEVELS

const char* esphome::logger::LOG_LEVELS[] = {"NONE", "ERROR", "WARN", "INFO", "CONFIG", "DEBUG", "VERBOSE", "VERY_VERBOSE"}

Definition at line 177 of file logger.cpp.

◆ UART_SELECTIONS

const char * esphome::logger::UART_SELECTIONS = {"UART0", "UART1", "UART2"}

Definition at line 179 of file logger.cpp.