Expand description
Test utilities for in-memory tracing in unit tests
Structs§
- Captured
Log - A log line read back from an
InMemorySink. - InMemory
Tracing Guard - RAII guard for in-memory tracing that handles cleanup
Functions§
- collect_
logs - Flushes the log buffer, then returns every static-string, formatted and tagged log recorded
in
sink, in emission order. Template events are not covered. - init_
in_ memory_ tracing - Initialize in-memory tracing for unit tests