Sha256: ebf9ff81415cb219539191bc2287e090e61d11d0e0a4a2b90ea01e7dc837b33c

Contents?: true

Size: 283 Bytes

Versions: 6

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

require 'active_support/core_ext/module/delegation'

module SlackWebhookLogger
  class Logger < ::ActiveSupport::Logger
    class << self
      delegate :fatal, :error, :warn, :info, :debug, \
               :add, :log, to: :instance
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack_webhook_logger-0.3.1 lib/slack_webhook_logger/logger.rb
slack_webhook_logger-0.3.0 lib/slack_webhook_logger/logger.rb
slack_webhook_logger-0.2.2 lib/slack_webhook_logger/logger.rb
slack_webhook_logger-0.2.1 lib/slack_webhook_logger/logger.rb
slack_webhook_logger-0.2.0 lib/slack_webhook_logger/logger.rb
slack_webhook_logger-0.1.0 lib/slack_webhook_logger/logger.rb