santh-tracing 0.2.0

Consistent tracing setup for CLI tools - stderr/JSON/file sinks, a secret-redacting writer, and operation spans
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Metrics facade that automatically namespaces under `santh_<tool_name>_`.

#[cfg(not(feature = "prometheus"))]
mod noop;
#[cfg(not(feature = "prometheus"))]
pub use noop::*;

#[cfg(feature = "prometheus")]
mod prom;
#[cfg(feature = "prometheus")]
pub use prom::*;