Class: Rack::MapperLogger

Inherits:
AsyncRack::CommonLogger
  • Object
show all
Defined in:
lib/rack/urlmap_logger.rb

Instance Method Summary collapse

Instance Method Details

#log(env, status, header, began_at) ⇒ Object



5
6
7
8
# File 'lib/rack/urlmap_logger.rb', line 5

def log env, status, header, began_at
  env['PATH_INFO'] = env['REQUEST_PATH']
  super
end