relay_log

Function backtrace_enabled

source
pub fn backtrace_enabled() -> bool
Expand description

Returns true if backtrace printing is enabled.

ยงExample

std::env::set_var("RUST_BACKTRACE", "full");
assert!(relay_log::backtrace_enabled());