Expand description
Automatic terminal and JSON output for ordinary tracing events.
Applications call init once. Libraries continue using tracing directly.
For existing subscribers and isolated captures, compose Console::layer instead.
base_console::init();
tracing::info!(connections = 3_u64, "Server started");Macros§
Structs§
- Console
- Configure console output without selecting a runtime or installing global state.
- Failure
- An error with diagnostics captured where it is wrapped, which can be retained and reported later.
Enums§
- Console
Init Error - Console setup failed before normal application logging began.
- Output
Format - The representation written by the console.