Expand description
Re-exports§
pub use tracing;
Macros§
- ensure
- Test a condition and if it is false, return the supplied error
- highlight
- Aggressively prints to the terminal. Useful for rapid debugging in a sea of terminal output.
- log_err
- Turns an expression into an error while logging it.
- log_tap
- Wrap an expression that prints debug output to the terminal while returning the original expression. Useful for logging without disturbing the code’s structure.
- ok_
or_ bail - Returns an unwrapped Result if Ok() otherwise returns the passed expression
- ok_
or_ continue - Returns an unwrapped Ok if Ok() otherwise continues a loop.
- some_
or_ bail - Returns an unwrapped Option if Some() otherwise returns the passed expression
- some_
or_ continue - Returns an unwrapped Option if Some() otherwise continues a loop.