Skip to content

Instantly share code, notes, and snippets.

@diegofigueroa
Created December 6, 2013 01:00
Show Gist options
  • Save diegofigueroa/7816976 to your computer and use it in GitHub Desktop.
Save diegofigueroa/7816976 to your computer and use it in GitHub Desktop.
use Struct.new(:app) {
def call(env)
env["rack.errors"] = $stdout
app.call(env)
end
}
use Rack::Logger, $your_log_level
use Rack::CommonLogger
run YourApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment