{"ast_node_type":"function","tokens":[{"end":77,"kind":"keyword","start":0,"text":"pub"}]}
pub fn init_logger(early_dcx: &EarlyDiagCtxt, cfg: rustc_log::LoggerConfig) {
/// the logger config directly rather than having to set an environment variable.
    if let Err(error) = rustc_log::init_logger(cfg) {