Sha256: aca9cf8ff94ff60ec89232c26ac5ed20179b01bb8c50a35a06655e723faf642c

Contents?: true

Size: 405 Bytes

Versions: 20

Compression:

Stored size: 405 Bytes

Contents

module Raven
  module Transports
    class Stdout < Transport
      attr_accessor :events

      def initialize(*)
        super
      end

      def send_event(_auth_header, data, _options = {})
        unless configuration.sending_allowed?
          logger.debug("Event not sent: #{configuration.error_messages}")
        end

        $stdout.puts data
        $stdout.flush
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
sentry-raven-3.1.2 lib/raven/transports/stdout.rb
sentry-raven-3.1.1 lib/raven/transports/stdout.rb
sentry-raven-3.1.0 lib/raven/transports/stdout.rb
sentry-raven-3.0.4 lib/raven/transports/stdout.rb
sentry-raven-3.0.3 lib/raven/transports/stdout.rb
sentry-raven-3.0.2 lib/raven/transports/stdout.rb
sentry-raven-3.0.1 lib/raven/transports/stdout.rb
sentry-raven-3.0.0 lib/raven/transports/stdout.rb
sentry-raven-2.13.0 lib/raven/transports/stdout.rb
sentry-raven-2.12.3 lib/raven/transports/stdout.rb
sentry-raven-2.12.2 lib/raven/transports/stdout.rb
sentry-raven-2.12.1 lib/raven/transports/stdout.rb
sentry-raven-2.12.0 lib/raven/transports/stdout.rb
sentry-raven-2.11.3 lib/raven/transports/stdout.rb
sentry-raven-2.11.2 lib/raven/transports/stdout.rb
sentry-raven-2.11.1 lib/raven/transports/stdout.rb
sentry-raven-2.11.0 lib/raven/transports/stdout.rb
sentry-raven-2.10.0 lib/raven/transports/stdout.rb
sentry-raven-2.9.0 lib/raven/transports/stdout.rb
sentry-raven-2.8.0 lib/raven/transports/stdout.rb