diff options
Diffstat (limited to 'examples/basalt.rs')
-rw-r--r-- | examples/basalt.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/basalt.rs b/examples/basalt.rs index 141069a..ea1ea7d 100644 --- a/examples/basalt.rs +++ b/examples/basalt.rs @@ -53,8 +53,9 @@ async fn main() { .parse_env("RUST_LOG") .format(|buf, record| { writeln!(buf, - "{} {} {}", + "{} {} {} {}", chrono::Local::now().format("%s%.6f"), + record.module_path().unwrap_or("_"), record.level(), record.args() ) |