Fixed logging time format in tests.

This commit is contained in:
Revertron
2022-05-12 15:54:15 +02:00
parent 9ff0d2d8e8
commit 880d75fc53
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ fn setup_logger(opt_matches: &Matches, console_attached: bool) {
.set_target_level(LevelFilter::Error)
.set_level_padding(LevelPadding::Right)
.set_time_level(LevelFilter::Error)
.set_time_format_custom(format_description!("[hour]:[minute]:[second].[subsecond]"))
.set_time_format_custom(format_description!("[hour]:[minute]:[second].[subsecond digits:3]"))
.set_time_offset_to_local()
.unwrap()
.build();