|
NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
|
#include <tracing.hpp>
Public Types | |
| using | Function = std::function< void(const TraceEvent &)> |
| Callback signature for one structured event. | |
Public Member Functions | |
| FunctionTracer (Function function) | |
Creates a tracer that forwards events to function. | |
| void | record (const TraceEvent &event) override |
| Delegates one event to the configured callback. | |
Callback-backed tracer, including a dependency-neutral OpenTelemetry bridge.
Concurrent record calls are serialized before invoking the callback.
|
overridevirtual |
Delegates one event to the configured callback.
Implements neuralplus::Tracer.