code: def init_logger(debug):
      fmt = "%(asctime)s %(message)s" if debug else "%(message)s"
      level = logging.DEBUG if debug else logging.INFO
      logging.basicConfig(
          format=fmt, level=level, datefmt="%Y-%m-%d %H:%M:%S"
      )
  
file_path: audio/examples/asr/emformer_rnnt/train.py
imports: import logging
  import pathlib
  from argparse import ArgumentParser
  from common import MODEL_TYPE_LIBRISPEECH, MODEL_TYPE_MUSTC, MODEL_TYPE_TEDLIUM3
  from librispeech.lightning import LibriSpeechRNNTModule
  from mustc.lightning import MuSTCRNNTModule
  from pytorch_lightning import Trainer
  from pytorch_lightning.callbacks import ModelCheckpoint
  from tedlium3.lightning import TEDLIUM3RNNTModule
label_desc: Use image node_id 4 for calling a global function with example usage: init_logger(debug) without return types