Class: Raven::Transports::Stdout
- Defined in:
- lib/raven/transports/stdout.rb
Instance Attribute Summary collapse
-
#events ⇒ Object
Returns the value of attribute events.
Attributes inherited from Transport
Instance Method Summary collapse
-
#initialize ⇒ Stdout
constructor
A new instance of Stdout.
- #send_event(_auth_header, data, _options = {}) ⇒ Object
Constructor Details
#initialize ⇒ Stdout
Returns a new instance of Stdout.
6 7 8 |
# File 'lib/raven/transports/stdout.rb', line 6 def initialize(*) super end |
Instance Attribute Details
#events ⇒ Object
Returns the value of attribute events.
4 5 6 |
# File 'lib/raven/transports/stdout.rb', line 4 def events @events end |
Instance Method Details
#send_event(_auth_header, data, _options = {}) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/raven/transports/stdout.rb', line 10 def send_event(_auth_header, data, = {}) unless configuration.sending_allowed? logger.debug("Event not sent: #{configuration.}") end $stdout.puts data $stdout.flush end |