fix local time not work in musl (#20)

This commit is contained in:
Sijie.Sun
2024-02-27 21:47:08 +08:00
committed by GitHub
parent e5b3fb09e6
commit 31af413b03
4 changed files with 21 additions and 2 deletions
+1
View File
@@ -366,6 +366,7 @@ fn init_logger() {
file_layer.set_ansi(false);
let file_layer = file_layer
.with_writer(file_appender)
.with_timer(easytier_core::common::get_logger_timer_rfc3339())
.with_filter(file_filter);
tracing_subscriber::Registry::default()