Skip to main content

configure

Function configure 

Source
pub fn configure(debug: bool)
Expand description

Configures process-wide logging to stderr. Call once, before serving.

Logs are JSON lines at info level. With debug enabled they are human-readable, at debug level for everything but the gRPC transport stack. RUST_LOG, when set, replaces the level selection in full. It takes comma-separated target=level directives and bare levels, such as info,my_function=debug; a RUST_LOG with span or field filters is ignored with a warning. To hold back more crates under debug, use Builder.