Submit
Path:
~
/
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
CommonLogger
/
File Content:
cdesc-CommonLogger.ri
U:RDoc::NormalClass[iI"CommonLogger:ETI"Rack::CommonLogger;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"GRack::CommonLogger forwards every request to the given +app+, and ;TI"logs a line in the ;TI"S{Apache common log format}[http://httpd.apache.org/docs/1.3/logs.html#common] ;TI"to the +logger+.;To:RDoc::Markup::BlankLine o; ;[I"MIf +logger+ is nil, CommonLogger will fall back +rack.errors+, which is ;TI"%an instance of Rack::NullLogger.;T@o; ;[I"N+logger+ can be any class, including the standard library Logger, and is ;TI"]expected to have either +write+ or +<<+ method, which accepts the CommonLogger::FORMAT. ;TI"IAccording to the SPEC, the error stream must also respond to +puts+ ;TI"J(which takes a single argument that responds to +to_s+), and +flush+ ;TI"N(which is called without arguments in order to make the error appear for ;TI" sure);T: @fileI"lib/rack/commonlogger.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"FORMAT;TI"Rack::CommonLogger::FORMAT;T:public0o;;[o; ;[I"ICommon Log Format: http://httpd.apache.org/docs/1.3/logs.html#common;T@o:RDoc::Markup::Verbatim;[I"Jlilith.local - - [07/Aug/2006 23:58:02 -0400] "GET / HTTP/1.1" 500 - ;TI" ;TI"+%{%s - %s [%s] "%s %s%s %s" %d %s\n} %;T:@format0;@!;0@!@cRDoc::NormalClass0[ [[I" class;T[[;[[I"new;TI"lib/rack/commonlogger.rb;T[:protected[ [:private[ [I" instance;T[[;[[I" call;T@<[;[ [;[[I"extract_content_length;T@<[I"log;T@<[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@!I" Rack;TcRDoc::NormalModule
Submit
FILE
FOLDER
Name
Size
Permission
Action
call-i.ri
254 bytes
0644
cdesc-CommonLogger.ri
1689 bytes
0644
extract_content_length-i.ri
295 bytes
0644
log-i.ri
279 bytes
0644
new-c.ri
265 bytes
0644
N4ST4R_ID | Naxtarrr