File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/puma-6.1.0/ri/Puma/CommonLogger/cdesc-CommonLogger.ri
U:RDoc::NormalClass[iI"CommonLogger:ETI"Puma::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"T{Apache common log format}[https://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/puma/commonlogger.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"FORMAT;TI"Puma::CommonLogger::FORMAT;T:public0o;;[o; ;[I"JCommon Log Format: https://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::NormalClass0U;
[i I"HIJACK_FORMAT;TI"&Puma::CommonLogger::HIJACK_FORMAT;T;0o;;[ ;@!;0@!@@20U;
[i I"CONTENT_LENGTH;TI"'Puma::CommonLogger::CONTENT_LENGTH;T;0o;;[ ;@!;0@!@@20U;
[i I"PATH_INFO;TI""Puma::CommonLogger::PATH_INFO;T;0o;;[ ;@!;0@!@@20U;
[i I"QUERY_STRING;TI"%Puma::CommonLogger::QUERY_STRING;T;0o;;[ ;@!;0@!@@20U;
[i I"REQUEST_METHOD;TI"'Puma::CommonLogger::REQUEST_METHOD;T;0o;;[ ;@!;0@!@@20[ [[I"
class;T[[;[[I"new;TI"lib/puma/commonlogger.rb;T[:protected[ [:private[ [I"
instance;T[[;[[I" call;T@Z[;[ [;[ [I"extract_content_length;T@Z[I"log;T@Z[I"log_hijacking;T@Z[I"
write;T@Z[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@!I" Puma;TcRDoc::NormalModule