[go: up one dir, main page]

Function zng_app::print_tracing

source ·
pub fn print_tracing(max: Level) -> bool
Expand description

Print tracing events if a subscriber is not already set.

All non-fatal errors in the Zng project are logged using tracing.

In debug builds this function is called automatically with level INFO on app start.

See also [test_log] to enable panicking for errors.