Last active
December 26, 2015 20:29
-
-
Save cgiffard/7209026 to your computer and use it in GitHub Desktop.
Significant whitespace
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
(middleware.register "logger" | |
(fn (number:status request:req hash:res) | |
(io.print (% "[%00d] %s" status req.url)))) | |
middleware.register "logger" | |
fn | |
number:status request:req hash:res | |
io.print | |
% "[%00d] %s" status req.url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment