Expand description
Ring buffer engine: ingestion, flushing, and the global ENGINE.
Near-lock-free ingestion engine backed by a bounded ring buffer.
The global ENGINE accepts
LogEvents via
LockFreeEngine::ingest()
using only atomic operations. A dedicated background thread drains events
in batches of 64 and writes them through crate::sink::PlatformSink.
The Mutex is never locked on the hot path. It exists solely for
shutdown() to join the flusher thread.
Structs§
- Fast
Serializer - Zero-Allocation Serializer Helper
- Lock
Free Engine - The near-lock-free ingestion engine.
- LogEvent
- A structured log event passed through the ring buffer.
Statics§
- ENGINE
- Global engine instance, lazily initialized on first access.