NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::SyslogTracer Class Referencefinal

#include <tracing.hpp>

Inheritance diagram for neuralplus::SyslogTracer:
neuralplus::Tracer

Public Member Functions

 SyslogTracer (std::string identity="neuralplus", int facility=0)
 Creates a POSIX syslog destination with an identity prefix and facility.
 
void record (const TraceEvent &event) override
 Sends one metadata-only event to POSIX syslog.
 

Detailed Description

POSIX syslog tracer. Construction throws ConfigurationError on unsupported systems.

The configured facility is supplied per record and the identity is included as a message prefix, without changing process-global openlog state.

See also
https://pubs.opengroup.org/onlinepubs/9699919799/functions/syslog.html

Member Function Documentation

◆ record()

void neuralplus::SyslogTracer::record ( const TraceEvent event)
overridevirtual

Sends one metadata-only event to POSIX syslog.

Implements neuralplus::Tracer.


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