lib/timber/integrations/rack.rb in timber-2.0.0 vs lib/timber/integrations/rack.rb in timber-2.0.1
- old
+ new
@@ -1,16 +1,17 @@
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, UserContext, HTTPEvents, ExceptionEvent]
+ @middlewares ||= [HTTPContext, SessionContext, UserContext, HTTPEvents, ExceptionEvent]
end
end
end
end
\ No newline at end of file