code: def initialize():
      global rootLoggerInitialized
      with initLock:
          if not rootLoggerInitialized:
              init_logger(logging.getLogger())
              rootLoggerInitialized = True
  
file_path: pyalgotrade/pyalgotrade/logger.py
imports: import logging
  import threading
label_desc: Use image node_id 3 for calling a global function with example usage: initialize() without return types