diff --git a/Cargo.toml b/Cargo.toml index d99dca6..ba52350 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ [package] name = "fast_log" -version = "1.6.11" +version = "1.6.12" description = "Rust async log High-performance asynchronous logging" readme = "Readme.md" authors = ["ce "] diff --git a/src/formats.rs b/src/formats.rs index c19f9be..49ee596 100644 --- a/src/formats.rs +++ b/src/formats.rs @@ -31,7 +31,7 @@ impl RecordFormat for FastLogFormat { }; if arg.level.to_level_filter() <= self.display_line_level { arg.formated = format!( - "{:27} {} {}:{} {}\n", + "{:27} [{}] [{}:{}] {}\n", &now, arg.level, arg.file, @@ -39,7 +39,7 @@ impl RecordFormat for FastLogFormat { arg.args, ); } else { - arg.formated = format!("{:27} {} - {}\n", &now, arg.level, arg.args); + arg.formated = format!("{:27} [{}] {}\n", &now, arg.level, arg.args); } } Command::CommandExit => {}