code: def setup_logger(options):
      
      LOGGER.setLevel(logging.INFO if options.verbose else logging.WARN)
      if options.report:
          LOGGER.removeHandler(STREAM)
          LOGGER.addHandler(logging.FileHandler(options.report, mode='w'))
  
      if options.options:
          LOGGER.info('Try to read configuration from: %r', options.options)
docs: Do the logger setup with options.