Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mtodd
Created February 21, 2011 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtodd/837758 to your computer and use it in GitHub Desktop.
Save mtodd/837758 to your computer and use it in GitHub Desktop.
LOGGER = lambda do |app|
lambda do |env|
puts "Request: %s %s" % [env[:method], env[:url].to_s]
app.call(env)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment