mirror of
https://github.com/adamaq01/mikado.git
synced 2024-11-30 16:54:29 +01:00
feat: minor logging format improvements
This commit is contained in:
parent
42a104a178
commit
6cbcea0381
@ -62,10 +62,10 @@ pub(crate) fn colored_level(
|
|||||||
.set_color(env_logger::fmt::Color::Magenta)
|
.set_color(env_logger::fmt::Color::Magenta)
|
||||||
.value("TRACE"),
|
.value("TRACE"),
|
||||||
log::Level::Debug => style.set_color(env_logger::fmt::Color::Blue).value("DEBUG"),
|
log::Level::Debug => style.set_color(env_logger::fmt::Color::Blue).value("DEBUG"),
|
||||||
log::Level::Info => style.set_color(env_logger::fmt::Color::Green).value("INFO"),
|
log::Level::Info => style.set_color(env_logger::fmt::Color::Green).value(" INFO"),
|
||||||
log::Level::Warn => style
|
log::Level::Warn => style
|
||||||
.set_color(env_logger::fmt::Color::Yellow)
|
.set_color(env_logger::fmt::Color::Yellow)
|
||||||
.value("WARN"),
|
.value(" WARN"),
|
||||||
log::Level::Error => style.set_color(env_logger::fmt::Color::Red).value("ERROR"),
|
log::Level::Error => style.set_color(env_logger::fmt::Color::Red).value("ERROR"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user