|
NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
|
#include "neuralplus/export.hpp"#include "neuralplus/types.hpp"#include <chrono>#include <cstddef>#include <functional>#include <memory>#include <mutex>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | neuralplus::TraceEvent |
| One metadata-first trace record. More... | |
| class | neuralplus::Tracer |
| Thread-safe destination for tracing and optional logging. More... | |
| class | neuralplus::ConsoleTracer |
| Human-readable stderr tracer. More... | |
| struct | neuralplus::FileTracerOptions |
| JSON Lines file tracer settings. More... | |
| class | neuralplus::FileTracer |
| class | neuralplus::InMemoryTracer |
| Thread-safe tracer that retains events for tests and embedding applications. More... | |
| class | neuralplus::FunctionTracer |
| class | neuralplus::SyslogTracer |
Typedefs | |
| using | neuralplus::Tracers = std::vector< std::shared_ptr< Tracer > > |
| Shared tracer collection accepted by ClientOptions. | |
Enumerations | |
| enum class | neuralplus::TraceLevel { debug , info , warning , error } |
| Severity used by structured tracing and optional logging. | |
| enum class | neuralplus::TraceEventType { generation_start , generation_end , provider_start , provider_end , tool_start , tool_end , error } |
| Stable lifecycle event categories emitted by AIClient. | |
Functions | |
| NEURALPLUS_API const char * | neuralplus::to_string (TraceLevel level) noexcept |
| Returns the stable SDK spelling of a trace level. | |
| NEURALPLUS_API const char * | neuralplus::to_string (TraceEventType type) noexcept |
| Returns the stable SDK spelling of an event category. | |
Structured trace events and built-in logging destinations.