Skip to content

Commit

Permalink
fix: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Leander Beernaert committed Aug 22, 2024
1 parent 5ca85e6 commit f5501d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions you-have-mail-mobile/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ pub fn init_log(filepath: String) -> Option<String> {

fn init_log_fn(path: PathBuf) -> Result<(), Box<dyn Error + Send + Sync>> {
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)
Expand Down

0 comments on commit f5501d5

Please # to comment.