Skip to content

Add new config option for logging level #177

@josecelano

Description

@josecelano

Add a new configuration option at the root level:

log_level = "info"

To set the logging level. Right now, it's hardcoded:

fn config_level_or_default(log_level: &Option<String>) -> LevelFilter {
    match log_level {
        None => log::LevelFilter::Info,
        Some(level) => LevelFilter::from_str(level).unwrap(),
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions