Skip to main content

init

Function init 

Source
pub fn init(options: LoggingOptions) -> Option<WorkerGuard>
Expand description

Initializes the global tracing subscriber.

Returns a WorkerGuard that must be kept alive for the process lifetime so the non-blocking file writer can flush buffered records.