code: def setup_logger(logfile=None, backup_count=20, log_level=logging.INFO, include_caller=True):
      
      formatter = logzero.LogFormatter(
          fmt=_set_log_format(color=True, include_caller=include_caller),
          datefmt='%Y-%m-%d %H:%M:%S'
      )
      logzero.setup_default_logger(formatter=formatter)
  
      if logfile:
          formatter = logzero.LogFormatter(
              fmt=_set_log_format(color=False, include_caller=True),
              datefmt='%Y-%m-%d %H:%M:%S')
          logzero.logfile(logfile, formatter=formatter, loglevel=log_level, maxBytes=int(1e7), backupCount=backup_count)
docs: Setup logzero logger. if logfile is specified, create additional file logger
      :param logfile: path to log file destination
      :param backup_count: number of rotating files
      :param log_level: min. log level FOR FILE LOGGING
      :param include_caller: whether to include the caller in the log output to STDOUT, e.g. [script:123]