Sha256: 3b97fc2b4dabf2bfec9a8064a0f58121b91e09ed835b9701eb4e0a524534d4e7
Contents?: true
Size: 302 Bytes
Versions: 13
Compression:
Stored size: 302 Bytes
Contents
require 'rack/action_logger/emit_adapter/base' module Rack::ActionLogger::EmitAdapter class FluentAdapter < Base def self.emit(hash) tag = hash[:tag] ? hash[:tag] : Rack::ActionLogger.configuration.default_tag hash = wrap(hash) Fluent::Logger.post(tag, hash) end end end
Version data entries
13 entries across 13 versions & 1 rubygems