Rails::Rack::Logger
class Rails::Rack::Logger
Sets log tags, logs the request, calls the app, and flushes the logs.
Log tags (taggers
) can be an Array containing: methods that the request
object responds to, objects that respond to to_s
or Proc objects that accept an instance of the request
object.
Public Class Methods
new(app, taggers = nil)登录查看完整内容