Crate hb_logging

Crate hb_logging 

Expand description

Logging set-up for Humpback services.

Debug builds will log to stdout, while release builds will not log anything unless configured.

§Example

// config should be loaded from a file or environment variables
let config = hb_logging::Config::default();
let _logging = hb_logging::init(&config).unwrap();

Modules§

config 🔒
dltdlt
DLT (Diagnostic Log and Trace) support.
filefile
File logging support.
stdoutstdout

Structs§

Config
Logging configuration.
Logging
Logging handle returned by init.

Functions§

init
Initializes logging based on the given configuration.