Function worker_cf_logging::initialize_tracing
source · pub fn initialize_tracing(
filter_level: &str,
logging_token: String,
enable_timings: bool
) -> SyslogLoggerExpand description
Initializes tracing subscriber.
Initialization is only performed once, meaning subsequent calls are ignored.
Enabling timings will attempt to time and log spans. NB. Time is only updated on IO in Workers.
Returns the underlying logger which must be called to flush to Kibana.