Skip to content

File SolidSyslogStreamCategories.h

FileList > Core > Interface > SolidSyslogStreamCategories.h

Portable category constants (uint16_t macros) for the Stream role: SOLIDSYSLOG_CAT_STREAM_CONNECT_FAILED.

  • #include <stdint.h>
  • #include "SolidSyslogErrorCategory.h"

Macro Definition Documentation

SOLIDSYSLOG_CAT_STREAM_CONNECT_FAILED

Portable Stream-role error categories.

#define SOLIDSYSLOG_CAT_STREAM_CONNECT_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_STREAM_BASE + 1U))`

Any Stream implementation reuses these; a portable handler switch on event->Category works identically across every stream backend. The stream could not establish its connection to the destination. Raised once per attempt, so a destination that stays down produces one event per Service pass; the edge-triggered summary of an outage is the Sender's SOLIDSYSLOG_CAT_SENDER_DELIVERY_FAILED, not this. event->Detail names which step failed.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogStreamCategories.h