Skip to content

Commit

Permalink
Merge pull request #10 from YushiOMOTE/rollback-format-change
Browse files Browse the repository at this point in the history
Rollback format change
  • Loading branch information
YushiOMOTE authored Jul 11, 2024
2 parents e75dbcd + 861f5f7 commit 64f0d44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ impl log::Log for Logger {
let _ = write(
&mut serial,
format_args!(
"[{} {}] {}\n\0",
"{:>8}: {} ({}, {}:{})\n",
record.level(),
record.module_path().unwrap_or(record.target()),
record.args()
record.args(),
record.target(),
record.file().unwrap_or("<unknown>"),
record.line().unwrap_or(0),
),
);
}
Expand Down

0 comments on commit 64f0d44

Please sign in to comment.