Skip to content

Commit

Permalink
Fix inconsistent 'long' name for Level::Warning
Browse files Browse the repository at this point in the history
Thanks to @Jonathas-Conceicao for discovering this :)

Fixes #282
  • Loading branch information
Techcable committed Sep 10, 2023
1 parent 141d90b commit c5b0ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2091,7 +2091,7 @@ impl<D: Drain> Drain for std::sync::Mutex<D> {
///
/// In order of `as_usize()`.
pub static LOG_LEVEL_NAMES: [&str; 7] =
["OFF", "CRITICAL", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"];
["OFF", "CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE"];

/// Official capitalized logging (and logging filtering) short level names
///
Expand Down

0 comments on commit c5b0ad3

Please sign in to comment.