Skip to content

Commit 3c980f3

Browse files
committed
use precise timestamps in custom format example
1 parent 8cab4a7 commit 3c980f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/custom_default_format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn init_logger() {
3232

3333
builder
3434
.default_format_level(false)
35-
.default_format_timestamp(false);
35+
.default_format_timestamp_nanos(true);
3636

3737
builder.init();
3838
}

0 commit comments

Comments
 (0)