Module tracing

Module tracing 

Source
Expand description

Zero-cost tracing and event logging system Zero-cost tracing system for P2P network debugging

This module provides comprehensive tracing capabilities with absolutely zero overhead in release builds when the trace feature is disabled.

Structs§

Event
Zero-sized event when tracing is disabled
EventLog
Zero-sized event log when tracing is disabled
TraceContext
Zero-sized trace context when tracing is disabled
TraceFlags
Zero-sized trace flags when tracing is disabled
TraceId
Zero-sized trace ID when tracing is disabled

Functions§

global_log
No-op global log when tracing is disabled
timestamp_now
Zero timestamp placeholder when tracing is disabled