ESPHome  1.12.2
Data Structures | Enumerations | Variables
log_component.h File Reference

Go to the source code of this file.

Data Structures

class  LogComponent
 A simple component that enables logging to Serial via the ESP_LOG* macros. More...
 
struct  LogComponent::LogLevelOverride
 

Enumerations

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

Variables

LogComponentglobal_log_component
 

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 24 of file log_component.h.

Variable Documentation

◆ global_log_component

LogComponent* global_log_component

Definition at line 152 of file log_component.cpp.