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:
parent
f9369c0f51
commit
c744af7cd3
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Rails
|
||||||
module Rack
|
module Rack
|
||||||
# Sets log tags, logs the request, calls the app, and flushes the logs.
|
# 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>.
|
# that accepts an instance of the <tt>request</tt> object, or something that responds to <tt>to_s</tt>.
|
||||||
class Logger < ActiveSupport::LogSubscriber
|
class Logger < ActiveSupport::LogSubscriber
|
||||||
def initialize(app, taggers = nil)
|
def initialize(app, taggers = nil)
|
||||||
|
|
Loading…
Reference in a new issue