Module logging

Module logging 

Source

Structs§

DualWriter
Dual writer that writes to both ring buffer and file
LogEntry
A log entry with timestamp and message
LogRingBuffer
Thread-safe ring buffer for log entries
RingBufferWriter
Custom writer that captures logs to our ring buffer

Functions§

get_log_buffer
Get the global log buffer
init_log_buffer
Initialize the global log buffer
init_tracing
Initialize tracing with our custom ring buffer writer (legacy)
init_tracing_with_dual_logging
Initialize tracing with dual logging (ring buffer + file)