ESPHome 2026.1.4
Loading...
Searching...
No Matches
esphome::logger::TaskLogBufferHost::LogMessage Struct Reference

#include <task_log_buffer_host.h>

Public Member Functions

 LogMessage ()
 

Data Fields

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

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 57 of file task_log_buffer_host.h.

Constructor & Destructor Documentation

◆ LogMessage()

esphome::logger::TaskLogBufferHost::LogMessage::LogMessage ( )
inline

Definition at line 70 of file task_log_buffer_host.h.

Field Documentation

◆ level

uint8_t esphome::logger::TaskLogBufferHost::LogMessage::level

Definition at line 67 of file task_log_buffer_host.h.

◆ line

uint16_t esphome::logger::TaskLogBufferHost::LogMessage::line

Definition at line 66 of file task_log_buffer_host.h.

◆ MAX_TEXT_SIZE

size_t esphome::logger::TaskLogBufferHost::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::TaskLogBufferHost::LogMessage::MAX_THREAD_NAME_SIZE = 32
staticconstexpr

Definition at line 59 of file task_log_buffer_host.h.

◆ ready

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

Definition at line 68 of file task_log_buffer_host.h.

◆ tag

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

Definition at line 62 of file task_log_buffer_host.h.

◆ text

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

Definition at line 64 of file task_log_buffer_host.h.

◆ text_length

uint16_t esphome::logger::TaskLogBufferHost::LogMessage::text_length

Definition at line 65 of file task_log_buffer_host.h.

◆ thread_name

char esphome::logger::TaskLogBufferHost::LogMessage::thread_name[MAX_THREAD_NAME_SIZE]

Definition at line 63 of file task_log_buffer_host.h.


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