Sha256: 290702cfcc98d0d7019b5776997d00fbc08713ac69bd8040b83a8f27b8092c83

Contents?: true

Size: 479 Bytes

Versions: 63

Compression:

Stored size: 479 Bytes

Contents

# typed: false
# frozen_string_literal: true

SlackWebhookLogger.setup do |config|
  # Webhook URL
  #
  # The URL where messages will be sent.
  config.webhook_url = SLACK_LOG_URL

  # The minimum error level to see in Slack.
  #
  # All log levels are supported, but don't do anything less then :warn since Slack only allows one message
  # per minute.
  config.level = :WARN

  config.ignore_patterns = [/Can't verify CSRF token authenticity/, /is not a valid MIME type/]
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
hephaestus-0.1.1 templates/config/initializers/slack_webhook_logger.rb
hephaestus-0.0.2 templates/config/initializers/slack_webhook_logger.rb
hephaestus-0.0.1 templates/config/initializers/slack_webhook_logger.rb