1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Refer to the constructer argument in docs

This commit is contained in:
Skye Shaw 2015-04-24 13:00:56 -04:00
parent f9369c0f51
commit c744af7cd3

View file

@ -8,7 +8,7 @@ module Rails
module Rack
# Sets log tags, logs the request, calls the app, and flushes the logs.
#
# Log tags can be an Array containing: methods that the <tt>request</tt> object responds to, a Proc
# Log tags (+taggers+) can be an Array containing: methods that the <tt>request</tt> object responds to, a Proc
# that accepts an instance of the <tt>request</tt> object, or something that responds to <tt>to_s</tt>.
class Logger < ActiveSupport::LogSubscriber
def initialize(app, taggers = nil)