code: def init_handler(handler):
      handler.setFormatter(Formatter(log_format))
  
file_path: pyalgotrade/pyalgotrade/logger.py
imports: import logging
  import threading
label_desc: Use image node_id 1 for calling a global function with example usage: init_handler(handler) without return types