Class: Rack::ActionLogger::EmitAdapter::FluentAdapter
- Defined in:
- lib/rack/action_logger/emit_adapter/fluent_adapter.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.emit(hash) ⇒ Object
5 6 7 8 9 |
# File 'lib/rack/action_logger/emit_adapter/fluent_adapter.rb', line 5 def self.emit(hash) tag = hash[:tag] ? hash[:tag] : Rack::ActionLogger.configuration.default_tag hash = wrap(hash) Fluent::Logger.post(tag, hash) end |