Crate jacklog

Source

Modules§

macros

Macros§

from_level

Functions§

from_level
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.
init
Basic invocation. Simply call jacklog::init(Some("mybin=debug")) to automatically set a default log level, that can be overridden via the usual RUST_LOG env var.

Attribute Macros§

verbose