Created
April 19, 2013 15:03
-
-
Save marshallswain/5420924 to your computer and use it in GitHub Desktop.
Line to simplify ExpressJS logger output.
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
this.use(express.logger({ format: '\x1b[1m:method\x1b[0m \x1b[33m:url\x1b[0m :response-time ms' })); this.use(express.favicon()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment