Function build_slow_query_logger

Source
fn build_slow_query_logger<S>(
    opts: &LoggingOptions,
    slow_query_opts: Option<&SlowQueryOptions>,
    guards: &mut Vec<WorkerGuard>,
) -> Option<Box<dyn Layer<S> + Send + Sync + 'static>>
where S: Subscriber + Send + 'static + for<'span> LookupSpan<'span>,