Skip to content

Commit

Permalink
Merge pull request #119 from zorp-corp/pq/change-slogs
Browse files Browse the repository at this point in the history
change slogs
  • Loading branch information
philipquirk authored Jan 15, 2025
2 parents 332f027 + da5e5fa commit 3904861
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crown/src/utils/slogger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ impl Slogger for CrownSlogger {
if !message.is_empty() {
if cfg!(feature = "slog-tracing") {
match pri {
0 => trace!(target: "slogger", "{}", message),
1 => debug!(target: "slogger", "{}", message),
2 => info!(target: "slogger", "{}", message),
3 => warn!(target: "slogger", "{}", message),
_ => error!(target: "slogger", "{}", message),
0 => info!(target: "slogger", "{}", message),
1 => warn!(target: "slogger", "{}", message),
2 => debug!(target: "slogger", "{}", message),
3 => trace!(target: "slogger", "{}", message),
_ => info!(target: "slogger", "{}", message),
}
} else {
let _ = writeln!(stderr(), "{}", message);
Expand Down

0 comments on commit 3904861

Please sign in to comment.