Created
December 6, 2013 01:00
-
-
Save diegofigueroa/7816976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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