Skip to content

Commit

Permalink
add missing when filter to example
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus authored Oct 26, 2024
1 parent 0650d0e commit 6aca358
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fn wait_a_bit(sleep_ms: u64) {
if sleep_ms > 500 {
span.complete_with(|span| {
emit::warn!(
when: emit::filter::always(),
evt: span,
"wait a bit took too long",
);
Expand Down

0 comments on commit 6aca358

Please sign in to comment.