Sha256: b0a6043a96174da63dcb6e4cab777cbbbde17756e665840f8c56eb5c3b1e8a1a

Contents?: true

Size: 451 Bytes

Versions: 21

Compression:

Stored size: 451 Bytes

Contents

require 'honeybadger/backend/null'

module Honeybadger
  module Backend
    # Internal: Logs the notice payload rather than sending it. The purpose of
    # this backend is primarily for programmatically inspecting JSON payloads
    # in integration tests.
    class Debug < Null
      def notify(feature, payload)
        logger.unknown("notifying debug backend of feature=#{feature}\n\t#{payload.to_json}")
        super
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
honeybadger-2.0.0.beta.5 lib/honeybadger/backend/debug.rb