Server IP : 66.29.132.122 / Your IP : 18.118.121.114 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/CommonLogger/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Rack::CommonLogger forwards every request to the given <tt>app</tt>, and logs a line in the {Apache common log format}[http://httpd.apache.org/docs/1.3/logs.html#common] to the <tt>logger</tt>. - !ruby/struct:SM::Flow::P body: If <tt>logger</tt> is nil, CommonLogger will fall back +rack.errors+, which is an instance of Rack::NullLogger. - !ruby/struct:SM::Flow::P body: <tt>logger</tt> can be any class, including the standard library Logger, and is expected to have either <tt>write</tt> or +<<+ method, which accepts the CommonLogger::FORMAT. According to the SPEC, the error stream must also respond to <tt>puts</tt> (which takes a single argument that responds to <tt>to_s</tt>), and <tt>flush</tt> (which is called without arguments in order to make the error appear for sure) constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: "Common Log Format: http://httpd.apache.org/docs/1.3/logs.html#common" - !ruby/struct:SM::Flow::VERB body: " lilith.local - - [07/Aug/2006 23:58:02 -0400] "GET / HTTP/1.1" 500 -\n\n %{%s - %s [%s] "%s %s%s %s" %d %s\\n} %\n" name: FORMAT value: "%{%s - %s [%s] \"%s %s%s %s\" %d %s %0.4f\\n}" full_name: Rack::CommonLogger includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: call name: CommonLogger superclass: Object