Skip to main content

init

Function init 

Source
pub fn init(service: &'static str)
Expand description

Initialise structured tracing. Idempotent; safe to call from tests.

service is the binary name (e.g. "cgn-router"). It is included as a constant span field so log shippers can route by it without parsing.