Skip to content

Commit

Permalink
Change tr! missing log level to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
varphone committed Jan 21, 2024
1 parent 24d9190 commit 30c14fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/macro/src/tr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl Tr {
Messagekind::ExprCall | Messagekind::ExprClosure | Messagekind::ExprMacro => {
let logging = if cfg!(feature = "log-tr-dyn") {
quote! {
log::debug!("tr: missing: {} => {:?} @ {}:{}", msg_key, msg_val, file!(), line!());
log::warn!("tr: missing: {} => {:?} @ {}:{}", msg_key, msg_val, file!(), line!());
}
} else {
quote! {}
Expand Down Expand Up @@ -266,7 +266,7 @@ impl Tr {
| Messagekind::Ident => {
let logging = if cfg!(feature = "log-tr-dyn") {
quote! {
log::debug!("tr: missing: {} => {:?} @ {}:{}", msg_key, #msg_val, file!(), line!());
log::warn!("tr: missing: {} => {:?} @ {}:{}", msg_key, #msg_val, file!(), line!());
}
} else {
quote! {}
Expand Down

0 comments on commit 30c14fd

Please sign in to comment.