Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.86 KB

File metadata and controls

44 lines (30 loc) · 1.86 KB

API reference

Where to start, by what your code is doing.

Three jobs: logging and draining each include only SolidSyslog.h, while setup includes SolidSyslogConfig.h plus one header per component it wires

Send a message

Include SolidSyslog.h — nothing else.

  • SolidSyslog_Log — emit an event.
  • SolidSyslog_LogWithSd — emit an event with structured data attached to that one message. Structured data you want on every message is wired once, on the config.

Service the queue

Include SolidSyslog.h — nothing else.

  • SolidSyslog_Service — move buffered records to the store and out over the wire. Call it repeatedly, from a dedicated task or an existing loop.

Create the logger

Include SolidSyslogConfig.h, plus one header per component you wire.

Find those components by platform if you know your device (Posix, lwIP, Mbed TLS, FatFs, …), or by role if you know the capability you need and want to see which platform provides it.