Skip to main content

init_tracing

Function init_tracing 

Source
pub fn init_tracing()
Expand description

Log as the server does: RUST_LOG if set, otherwise PGRST_LOG_LEVEL, as text or as JSON lines by PGRST_LOG_FORMAT.

No timestamps, which CloudWatch adds to every line itself. Installs the global subscriber, so call it once, first.