Skip to main content

configure

Function configure 

Source
pub fn configure(debug: bool)
Expand description

Configures process-wide logging.

Logs are emitted as JSON lines at info level. With debug enabled, logs are emitted in a human-readable format at debug level instead. Call once, before serving.