aboutsummaryrefslogtreecommitdiff
path: root/examples/fullmesh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fullmesh.rs')
-rw-r--r--examples/fullmesh.rs3
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()
)