D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-ruby27
/
root
/
usr
/
share
/
gems
/
doc
/
rack-2.2.10
/
ri
/
Rack
/
CommonLogger
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"Rack::CommonLogger::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"K+logger+ can be any object that supports the +write+ or +<<+ methods, ;TI"Kwhich includes the standard library Logger. These methods are called ;TI"5with a single string argument, the log message. ;TI"QIf +logger+ is nil, CommonLogger will fall back <tt>env['rack.errors']</tt>.;T: @fileI"lib/rack/common_logger.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(app, logger = nil);T@FI"CommonLogger;TcRDoc::NormalClass00