AlkantarClanX12
Current Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/CommonLogger/ |
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/CommonLogger/cdesc-CommonLogger.ri |
U:RDoc::NormalClass[iI"CommonLogger:EFI"Rack::CommonLogger;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"FRack::CommonLogger forwards every request to the given +app+, and;FI"logs a line in the;FI"R{Apache common log format}[http://httpd.apache.org/docs/1.3/logs.html#common];FI"to the +logger+.;Fo:RDoc::Markup::BlankLine o; ;[I"LIf +logger+ is nil, CommonLogger will fall back +rack.errors+, which is;FI"%an instance of Rack::NullLogger.;F@o; ;[I"M+logger+ can be any class, including the standard library Logger, and is;FI"\expected to have either +write+ or +<<+ method, which accepts the CommonLogger::FORMAT.;FI"HAccording to the SPEC, the error stream must also respond to +puts+;FI"I(which takes a single argument that responds to +to_s+), and +flush+;FI"M(which is called without arguments in order to make the error appear for;FI" sure);F: @fileI"lib/rack/commonlogger.rb;F;0[ [[I"FORMAT;Fo;;[o; ;[I"ICommon Log Format: http://httpd.apache.org/docs/1.3/logs.html#common;F@o:RDoc::Markup::Verbatim;[I"Jlilith.local - - [07/Aug/2006 23:58:02 -0400] "GET / HTTP/1.1" 500 - ;FI" ;FI"+%{%s - %s [%s] "%s %s%s %s" %d %s\n} %;F;0@![ [[I" class;F[[:public[[I"new;F@![:protected[ [:private[ [I" instance;F[[; [[I" call;F@![;[ [;[