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§
Structs§
Functions§
- init
- Initializes logging based on the given configuration.