code: def _get_console_hdlr(config):
      console_handler = logging.StreamHandler(config.stream)
      console_handler.setFormatter(formatter)
      console_handler.setLevel(config.stream_level)
      console_handler.set_name("console")
  
      return console_handler
  
imports: import logging
  from towhee.config.log_config import LogConfig
label_desc: Use image node_id 3 for calling a global function with example usage: _get_console_hdlr(config) and returns: console_handler