diff options
author | Alex Auvolat <alex@adnab.me> | 2020-12-04 14:06:06 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-12-04 14:06:06 +0100 |
commit | 0b041c77f4167fcb0d2d8445b736757af7b8208d (patch) | |
tree | ad62376f5dad1b0605e46874effe2c2673b40780 /examples/fullmesh.rs | |
parent | b63179c699e0569d45826bccb4b9f2f1bc53c30e (diff) | |
download | netapp-0b041c77f4167fcb0d2d8445b736757af7b8208d.tar.gz netapp-0b041c77f4167fcb0d2d8445b736757af7b8208d.zip |
more logging
Diffstat (limited to 'examples/fullmesh.rs')
-rw-r--r-- | examples/fullmesh.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/fullmesh.rs b/examples/fullmesh.rs index a61ab3d..a24d343 100644 --- a/examples/fullmesh.rs +++ b/examples/fullmesh.rs @@ -32,8 +32,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() ) |