ESPHome 2026.3.0-dev
Loading...
Searching...
No Matches
esphome::logger::TaskLogBuffer::LogMessage Struct Reference

#include <task_log_buffer_esp32.h>

Public Member Functions

char * text_data ()
 
const char * text_data () const
 
 LogMessage ()
 
char * text_data ()
 
char * text_data ()
 
const char * text_data () const
 
char * text_data ()
 

Data Fields

const char * tag
 
char thread_name [16]
 
uint16_t text_length
 
uint16_t line
 
uint8_t level
 
char text [MAX_TEXT_SIZE+1]
 
std::atomic< bool > ready
 
 MPSC_PBUF_HDR
 

Static Public Attributes

static constexpr size_t MAX_THREAD_NAME_SIZE = 32
 
static constexpr size_t MAX_TEXT_SIZE = 512
 

Detailed Description

Definition at line 21 of file task_log_buffer_zephyr.h.

Constructor & Destructor Documentation

◆ LogMessage()

esphome::logger::TaskLogBuffer::LogMessage::LogMessage ( )
inline

Definition at line 70 of file task_log_buffer_host.h.

Member Function Documentation

◆ text_data() [1/6]

char * esphome::logger::TaskLogBuffer::LogMessage::text_data ( )
inline

Definition at line 45 of file task_log_buffer_esp32.h.

◆ text_data() [2/6]

char * esphome::logger::TaskLogBuffer::LogMessage::text_data ( )
inline

Definition at line 74 of file task_log_buffer_host.h.

◆ text_data() [3/6]

char * esphome::logger::TaskLogBuffer::LogMessage::text_data ( )
inline

Definition at line 54 of file task_log_buffer_libretiny.h.

◆ text_data() [4/6]

char * esphome::logger::TaskLogBuffer::LogMessage::text_data ( )
inline

Definition at line 34 of file task_log_buffer_zephyr.h.

◆ text_data() [5/6]

const char * esphome::logger::TaskLogBuffer::LogMessage::text_data ( ) const
inline

Definition at line 47 of file task_log_buffer_esp32.h.

◆ text_data() [6/6]

const char * esphome::logger::TaskLogBuffer::LogMessage::text_data ( ) const
inline

Definition at line 55 of file task_log_buffer_libretiny.h.

Field Documentation

◆ level

uint8_t esphome::logger::TaskLogBuffer::LogMessage::level

Definition at line 42 of file task_log_buffer_esp32.h.

◆ line

uint16_t esphome::logger::TaskLogBuffer::LogMessage::line

Definition at line 41 of file task_log_buffer_esp32.h.

◆ MAX_TEXT_SIZE

size_t esphome::logger::TaskLogBuffer::LogMessage::MAX_TEXT_SIZE = 512
staticconstexpr

Definition at line 60 of file task_log_buffer_host.h.

◆ MAX_THREAD_NAME_SIZE

size_t esphome::logger::TaskLogBuffer::LogMessage::MAX_THREAD_NAME_SIZE = 32
staticconstexpr

Definition at line 59 of file task_log_buffer_host.h.

◆ MPSC_PBUF_HDR

esphome::logger::TaskLogBuffer::LogMessage::MPSC_PBUF_HDR

Definition at line 22 of file task_log_buffer_zephyr.h.

◆ ready

std::atomic<bool> esphome::logger::TaskLogBuffer::LogMessage::ready

Definition at line 68 of file task_log_buffer_host.h.

◆ tag

const char * esphome::logger::TaskLogBuffer::LogMessage::tag

Definition at line 38 of file task_log_buffer_esp32.h.

◆ text

char esphome::logger::TaskLogBuffer::LogMessage::text[MAX_TEXT_SIZE+1]

Definition at line 64 of file task_log_buffer_host.h.

◆ text_length

uint16_t esphome::logger::TaskLogBuffer::LogMessage::text_length

Definition at line 40 of file task_log_buffer_esp32.h.

◆ thread_name

char esphome::logger::TaskLogBuffer::LogMessage::thread_name

Definition at line 39 of file task_log_buffer_esp32.h.


The documentation for this struct was generated from the following files: