|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | Syslog |
Enumerations | |
| enum | SyslogFormat : uint8_t { SYSLOG_FORMAT_RFC3164 , SYSLOG_FORMAT_RFC5424 } |
Functions | |
| size_t | append_redacted_message (char *buf, size_t size, size_t pos, const char *message, size_t len) |
| Append len bytes of message to buf at pos, replacing every LOG_SECRET() region with "[redacted]". | |
| enum esphome::syslog::SyslogFormat : uint8_t |
| Enumerator | |
|---|---|
| SYSLOG_FORMAT_RFC3164 | |
| SYSLOG_FORMAT_RFC5424 | |
Definition at line 10 of file esphome_syslog.h.
| size_t esphome::syslog::append_redacted_message | ( | char * | buf, |
| size_t | size, | ||
| size_t | pos, | ||
| const char * | message, | ||
| size_t | len ) |
Append len bytes of message to buf at pos, replacing every LOG_SECRET() region with "[redacted]".
Returns the new position, capped at size like the other buf_append helpers.
Definition at line 42 of file esphome_syslog.cpp.