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

#include <tracing.hpp>

Inheritance diagram for neuralplus::FileTracer:
neuralplus::Tracer

Public Member Functions

 FileTracer (std::string path, FileTracerOptions options={})
 Opens a JSON Lines trace file at path.
 
void record (const TraceEvent &event) override
 Appends one event subject to the configured payload and size policy.
 

Detailed Description

Thread-safe JSON Lines tracer with metadata-only output by default.

POSIX builds open the destination once with owner-only creation permissions and reject final-component symbolic links when the platform provides O_NOFOLLOW.

Member Function Documentation

◆ record()

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

Appends one event subject to the configured payload and size policy.

Implements neuralplus::Tracer.


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