Class: EcsLogging::Middleware
- Inherits:
-
Object
- Object
- EcsLogging::Middleware
- Defined in:
- lib/ecs_logging/middleware.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, logdev) ⇒ Middleware
constructor
A new instance of Middleware.
Constructor Details
#initialize(app, logdev) ⇒ Middleware
Returns a new instance of Middleware.
25 26 27 28 |
# File 'lib/ecs_logging/middleware.rb', line 25 def initialize(app, logdev) @app = app @logger = Logger.new(logdev) end |