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/tedlium3/train_spm.py
imports: import io
  import logging
  import os
  import pathlib
  from argparse import ArgumentParser, RawTextHelpFormatter
  import sentencepiece
label_desc: Use image node_id 4 for calling a global function with example usage: _init_logger(debug) without return types