From f5501d54779d42502a2b98d2ec1f7b564bfcee50 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Thu, 22 Aug 2024 20:11:43 +0200 Subject: [PATCH] fix: cargo fmt --- you-have-mail-mobile/src/logging.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/you-have-mail-mobile/src/logging.rs b/you-have-mail-mobile/src/logging.rs index a2dbc3b..876eb02 100644 --- a/you-have-mail-mobile/src/logging.rs +++ b/you-have-mail-mobile/src/logging.rs @@ -25,9 +25,8 @@ pub fn init_log(filepath: String) -> Option { fn init_log_fn(path: PathBuf) -> Result<(), Box> { let appender = tracing_appender::rolling::never(path, "yhm.log"); - let filter = EnvFilter::builder().parse_lossy( - "info,you_have_mail_common=debug,http=debug,proton_api=debug", - ); + let filter = EnvFilter::builder() + .parse_lossy("info,you_have_mail_common=debug,http=debug,proton_api=debug"); tracing_subscriber::FmtSubscriber::builder() .with_ansi(false) .with_writer(appender)