Sha256: 49e8d159b8ca0247fb855ff76ed2023ad51b994397e54cb3fe5f1170b956b68b
Contents?: true
Size: 345 Bytes
Versions: 25
Compression:
Stored size: 345 Bytes
Contents
# frozen_string_literals: true module Lumberjack module Rack # Middleware to create a global context for Lumberjack for the scope of a rack request. class Context def initialize(app) @app = app end def call(env) Lumberjack.context do @app.call(env) end end end end end
Version data entries
25 entries across 25 versions & 4 rubygems