ok

Mini Shell

Direktori : /opt/alt/ruby20/lib64/ruby/gems/2.0.0/doc/rack-1.6.4/ri/Rack/CommonLogger/
Upload File :
Current File : //opt/alt/ruby20/lib64/ruby/gems/2.0.0/doc/rack-1.6.4/ri/Rack/CommonLogger/cdesc-CommonLogger.ri

U:RDoc::NormalClass[iI"CommonLogger:EFI"Rack::CommonLogger;FI"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::BlankLineo;	;[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[iI"FORMAT;FI"Rack::CommonLogger::FORMAT;F00o;;[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[[:public[[I"new;TI"lib/rack/commonlogger.rb;T[:protected[[:private[[I"
instance;T[[;[[I"	call;F@<[;[[;[[I"extract_content_length;F@<[I"log;F@<[[U:RDoc::Context::Section[i0o;;[;0;0[@!I"	Rack;FcRDoc::NormalModule

Zerion Mini Shell 1.0