Sha256: 8fddb95f1667b9fb0a7bc41526eb4dcfae2ee15683465077de95e6fc8f4450ff

Contents?: true

Size: 612 Bytes

Versions: 22

Compression:

Stored size: 612 Bytes

Contents

require "timber/integrations/rack/exception_event"
require "timber/integrations/rack/http_context"
require "timber/integrations/rack/http_events"
require "timber/integrations/rack/session_context"
require "timber/integrations/rack/user_context"

module Timber
  module Integrations
    module Rack
      # All available middlewares. The order is relevant. Middlewares that set
      # context are added first so that context is included in subsequent log lines.
      def self.middlewares
        @middlewares ||= [HTTPContext, SessionContext, UserContext, HTTPEvents, ExceptionEvent]
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
timber-2.0.24 lib/timber/integrations/rack.rb
timber-2.0.23 lib/timber/integrations/rack.rb
timber-2.0.22 lib/timber/integrations/rack.rb
timber-2.0.21 lib/timber/integrations/rack.rb
timber-2.0.20 lib/timber/integrations/rack.rb
timber-2.0.19 lib/timber/integrations/rack.rb
timber-2.0.17 lib/timber/integrations/rack.rb
timber-2.0.16 lib/timber/integrations/rack.rb
timber-2.0.15 lib/timber/integrations/rack.rb
timber-2.0.14 lib/timber/integrations/rack.rb
timber-2.0.12 lib/timber/integrations/rack.rb
timber-2.0.11 lib/timber/integrations/rack.rb
timber-2.0.10 lib/timber/integrations/rack.rb
timber-2.0.9 lib/timber/integrations/rack.rb
timber-2.0.8 lib/timber/integrations/rack.rb
timber-2.0.7 lib/timber/integrations/rack.rb
timber-2.0.6 lib/timber/integrations/rack.rb
timber-2.0.5 lib/timber/integrations/rack.rb
timber-2.0.4 lib/timber/integrations/rack.rb
timber-2.0.3 lib/timber/integrations/rack.rb