Sha256: 584594a6e1ffe2ddffea29a8c7b2a6d8389e71ee8b5b0a1b242262fc4e278079
Contents?: true
Size: 549 Bytes
Versions: 39
Compression:
Stored size: 549 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}") return Response.new(ENV['DEBUG_BACKEND_STATUS'].to_i, nil) if ENV['DEBUG_BACKEND_STATUS'] super end end end end
Version data entries
39 entries across 39 versions & 2 rubygems