MCPcopy Create free account
hub / github.com/SeismicSystems/summit / CriticalLogGuard

Class CriticalLogGuard

node/src/telemetry.rs:16–18  ·  view source on GitHub ↗

Guard that must be held alive for the process lifetime. Dropping it flushes and closes the critical log file writer.

Source from the content-addressed store, hash-verified

14/// Guard that must be held alive for the process lifetime.
15/// Dropping it flushes and closes the critical log file writer.
16pub struct CriticalLogGuard {
17 _guard: Option<WorkerGuard>,
18}
19
20/// Initialize the tracing subscriber with an optional critical-event file layer.
21///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected