[−][src]Function quixutils::logger::init
pub fn init()
Initialize logging
Precedence: LOG_LEVEL > RUST_LOG > 'verbosity' argument.
Env:
LOG_LEVEL: Used to control levels for modules. Overrides RUST_LOG
This is useful to debug app only when executed through other tools
like cargo run
. Falls back to RUST_LOG if not provided.
LOG_UTC: 1 for UTC, 0 for local. UTC by default
Colors
Colors are automatic and will be disabled on pipes, or when TERM=dumb is passed along.