Class

Rack::CommonLogger

Inheritance
< Object

Rack::CommonLogger forwards every request to an app given, and logs a line in the Apache common log format to the logger, or rack.errors by default.

Methods

Class

Visibility Signature
public new (app, logger=nil)

Instance

Visibility Signature
public << (str)
public _call (env)
public call (env)
public close ()
public each () {|part| ...}

Class Method Detail

new(app, logger=nil)

Instance Method Detail

<<(str)

By default, log to rack.errors.

_call(env)

call(env)

close()

each() {|part| ...}