|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Structured JSON Lines (NDJSON) output log sink. Formats LogEvent records into JSON objects for structured telemetry and ingest (ELK, Datadog, Grafana Loki). More...
#include <JsonLogSink.hpp>
Collaboration diagram for corium::logging::sinks::JsonLogSink:Public Member Functions | |
| JsonLogSink (std::ostream &outputStream) noexcept | |
| template<std::size_t N> | |
| void | write (const LogEventT< N > &event) const |
| Serialize log event as a single-line JSON string. | |
Structured JSON Lines (NDJSON) output log sink. Formats LogEvent records into JSON objects for structured telemetry and ingest (ELK, Datadog, Grafana Loki).
|
inlineexplicitnoexcept |
|
inline |
Serialize log event as a single-line JSON string.
Here is the call graph for this function: