code: def configure_slack_logger(
              self,
              slack_webhook=None,
              log_level='ERROR',
              log_format=ReportingFormats.SLACK_PRINT.value,
              custom_args=''
      ):
          
          # Override defaults if required #
          slack_webhook = self.config.get_option(
              'LOGGING', 'slack_webhook',
              None, slack_webhook
          )
          log_level = self.config.get_option(
              'LOGGING', 'slack_level',
              None, log_level
          )
  
          # Actually build slack logging handler #
          # vv TODO vv: Test review #
          slack_handler = HackySlackHandler(
              slack_webhook
          )
          self._configure_common(
              'slack_',
              log_level,
              log_format,
              'Slack',
              slack_handler,
              custom_args=custom_args
          )
docs: logger for sending messages to Slack.  Easy way to alert humans of issues
  
          Note:
              Will try to overwrite minimum log level to enable requested log_level
              Will warn and not attach hipchat logger if missing webhook key
              Learn more about webhooks: https://api.slack.com/docs/message-attachments
          Args:
              slack_webhook (str): slack bot webhook (full URL)
              log_level (str): desired log level for handle https://docs.python.org/3/library/logging.html#logging-levels
              log_format (str): format for logging messages https://docs.python.org/3/library/logging.html#logrecord-attributes
              custom_args (str): special ID to include in messages