Skip to content

Commit

Permalink
Fix logging level after renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Dec 3, 2024
1 parent 8dfb310 commit 822f126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ pub(crate) enum Level {
fn setup_logging(level: Level) -> Result<()> {
let directive = match level {
Level::Default => tracing::level_filters::LevelFilter::OFF.into(),
Level::Verbose => Directive::from_str("pre_commit=debug")?,
Level::ExtraVerbose => Directive::from_str("pre_commit=trace")?,
Level::Verbose => Directive::from_str("prefligit=debug")?,
Level::ExtraVerbose => Directive::from_str("prefligit=trace")?,
};

let filter = EnvFilter::builder()
Expand Down

0 comments on commit 822f126

Please sign in to comment.