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/avsr/train.py
imports: import logging
  import os
  from argparse import ArgumentParser
  import sentencepiece
  from average_checkpoints import ensemble
  from pytorch_lightning import seed_everything, Trainer
  from pytorch_lightning.callbacks import LearningRateMonitor, ModelCheckpoint
  from pytorch_lightning.strategies import DDPStrategy
  from transforms import get_data_module
label_desc: Use image node_id 4 for calling a global function with example usage: init_logger(debug) without return types