Class: Logster::Web

Inherits:
Object
  • Object
show all
Defined in:
lib/logster/web.rb

Defined Under Namespace

Classes: FourOhFour

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object


10
11
12
13
# File 'lib/logster/web.rb', line 10

def self.call(env)
  @middleware ||= Logster::Middleware::Viewer.new(FourOhFour.new)
  @middleware.call(env)
end