Module: Raven::Transports::FluentdExt
- Defined in:
- lib/raven/transports/fluentd_ext.rb
Instance Method Summary collapse
Instance Method Details
#transport ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/raven/transports/fluentd_ext.rb', line 4 def transport @transport ||= case self.configuration.scheme when 'udp' Transports::UDP.new self.configuration when 'http', 'https' Transports::HTTP.new self.configuration when 'fluentd' Transports::Fluentd.new self.configuration else raise Error.new("Unknown transport scheme '#{self.configuration.scheme}'") end end |