Skip to content

Commit a8da396

Browse files
authored
Merge pull request #95 from KodrAus/chore/timestamp-example
Use precise timestamps in custom format example
2 parents 8cab4a7 + 3c980f3 commit a8da396

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)