D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
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