Modules§
Macros§
Functions§
- Set the log level using 0-indexed integers, starting from 0=off. Especially useful if writing a CLI and accepting verbosity settings via number of flags (-v, -vv, -vvv, etc.). Will be overridden via the usual
RUST_LOG
env var, if it’s present. - Basic invocation. Simply call
jacklog::init(Some("mybin=debug"))
to automatically set a default log level, that can be overridden via the usualRUST_LOG
env var.