Files
zh_syslog/README.md
T
2026-08-16 07:58:30 +03:00

1.2 KiB

ESP32 ESP-IDF component for Syslog UDP client

Wiki

EN | RU

Tested on

  1. ESP-IDF v6.0.0

SAST Tools

PVS-Studio — static analyzer for C, C++, C#, and Java code.

Features

  1. Support for all standard syslog facility codes (0-23) per RFC 5424
  2. Support for all standard syslog severity levels (0-7) per RFC 5424
  3. RFC 5424 format message generation with priority calculation
  4. Thread-safe initialization and deinitialization
  5. MALLOC_CAP_8BIT memory allocation for DMA compatibility

Using

In an existing project, run the following command to install the components:

cd ../your_project/components
git clone https://github.com/aZholtikov/zh_syslog.git

In the application, add the component:

#include "zh_syslog.h"

Examples

See Wiki EN | RU

Note

Messages are built using the format defined in RFC 5424.