Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andylokandy committed Aug 14, 2024
1 parent 24d0bd8 commit 1ced9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/append/fastrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub struct FastraceEvent;

impl Append for FastraceEvent {
fn append(&self, record: &Record) -> anyhow::Result<()> {
let message = format!("{}", record.args(),);
let message = format!("{}", record.args());
fastrace::Event::add_to_local_parent(message, || {
[("level", record.level()), ("timestamp", Zoned::now())]
.chain(collect_kvs(record.key_values()))
Expand Down

0 comments on commit 1ced9a5

Please sign in to comment.