Skip to content

Commit

Permalink
change detail
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Dec 28, 2023
1 parent c6bea1d commit c64d84c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"]
Expand Down
4 changes: 2 additions & 2 deletions src/formats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ 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,
arg.line.unwrap_or_default(),
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 => {}
Expand Down

0 comments on commit c64d84c

Please sign in to comment.