1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Logging utilities.
//!
//! Centralised logging helpers wrapping `tracing` so components can emit
//! structured diagnostics without depending on concrete subscribers.
use Once;
static INIT: Once = new;
/// Initialise a default tracing subscriber if none has been installed.
///
/// Subsequent calls are no-ops, allowing libraries, binaries, and tests to call
/// this function without worrying about double initialisation panics.
/// Emit an informational log line.
/// Emit a warning log line.
/// Emit an error log line.