code: def set_logger(self, logger_name, level=logging.INFO):
          
          log = logging.getLogger(logger_name)
          log.setLevel(level)
  
          ch = logging.StreamHandler(None)
          ch.setLevel(level)
  
          # create formatter
          if level == logging.INFO:
              formatter = logging.Formatter(InfoFmtString)
          else:
              formatter = logging.Formatter(DebugFmtString)
  
          # add formatter to ch
          ch.setFormatter(formatter)
  
          # add ch to logger
          log.addHandler(ch)
docs: Convenience function to quickly configure full debug output
          to go to the console.