Skip to main content

Module logging

Module logging 

Source
Expand description

Logging initialization.

Provides a simple wrapper around tracing-subscriber for consistent logging setup.

Functionsยง

elapsed_secs
Returns how many seconds have elapsed since the time system was first initialised (same anchor used by now_unix_ns_estimate). Starts at ~0.000.
init
Initialize the logging/tracing system.
init_default
Initialize logging with default settings (info level).