diff --git a/pkgr/src/logging.rs b/pkgr/src/logging.rs index 47a66bc..5cc511a 100644 --- a/pkgr/src/logging.rs +++ b/pkgr/src/logging.rs @@ -8,11 +8,11 @@ fn format_regular>(log: S, record: &Record) -> String { let line_prefix = |line: String, extend: bool| { let prefix = if extend { match record.level() { - log::Level::Trace => " :".bright_blue(), - log::Level::Debug => " :".green(), - log::Level::Info => " :".blue(), - log::Level::Warn => " :".yellow(), - log::Level::Error => " :".red(), + log::Level::Trace => " ]".bright_blue(), + log::Level::Debug => " ?".green(), + log::Level::Info => " >".blue(), + log::Level::Warn => " #".yellow(), + log::Level::Error => " !".red(), }.to_string() } else { match record.level() { diff --git a/pkgr/src/main.rs b/pkgr/src/main.rs index 7ce334c..3320e71 100644 --- a/pkgr/src/main.rs +++ b/pkgr/src/main.rs @@ -18,7 +18,8 @@ thread_local! { } fn main() { - logging::setup_logger().expect("Unable to setup logger."); + logging::setup_logger() + .expect("unable to set logger."); #[cfg(not(debug_assertions))] {