Skip to content

Commit

Permalink
chore: log
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Dec 10, 2024
1 parent a3cab82 commit a87ad61
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frb_codegen/src/library/utils/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ pub fn configure_opinionated_logging(path: &str, verbose: bool) -> Result<(), fe
.level(LevelFilter::Info)
.level_for("cbindgen", LevelFilter::Error)
.chain(std::io::stdout()),
// frb-coverage:ignore-start
_ => panic!("only allow \"debug\" or \"info\""),
// frb-coverage:ignore-end
_ => fern_logger.level(level_filter).chain(std::io::stdout()),
};

let (max_level, fern_logger) = fern_logger.into_log();
Expand Down

0 comments on commit a87ad61

Please sign in to comment.