Skip to content

Commit

Permalink
Add exception example.
Browse files Browse the repository at this point in the history
  • Loading branch information
twitchax committed Oct 25, 2023
1 parent 4902e79 commit ec1209f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
//! info!("Info message");
//! warn!("Warn message");
//! error!("Error message");
//! event!(name: "exception", exception.message = "error message");
//!
//! // Create new spans using the `tracing` macros.
//! let span = tracing::info_span!("DB Query");
Expand Down

0 comments on commit ec1209f

Please sign in to comment.