Function clap_logger::get_loglevel_arg
source · [−]pub fn get_loglevel_arg<'help>(default_loglevel: LevelFilter) -> Arg<'help>
Expand description
Get LogLevel Arg
returns a clap::Arg
, which accepts the log level via CLI
Arguments
default_loglevel: log::LevelFilter
which will become the loglevel when no one is defined by the user.