Skip to content

Commit

Permalink
Fixed error in TextLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
dousamichal0807 committed Apr 22, 2022
1 parent 193279d commit 43fb640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loggers/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ where
.map(|name| format!(" {}", name))
.unwrap_or_default();
// Write to the specified stream:
writeln!(self.writer, "{} [{} {}]: {}", Local::new(), log_level, category, message)
writeln!(self.writer, "{} [{} {}]: {}", Local::now(), log_level, category, message)
}
}

0 comments on commit 43fb640

Please sign in to comment.