Function tikv_util::logger::init_log[][src]

pub fn init_log<D>(
    drain: D,
    level: Level,
    use_async: bool,
    init_stdlog: bool,
    disabled_targets: Vec<String>,
    slow_threshold: u64
) -> Result<(), SetLoggerError> where
    D: Drain + Send + 'static,
    <D as Drain>::Err: Display