Created
November 13, 2013 23:58
-
-
Save mattnull/7458769 to your computer and use it in GitHub Desktop.
Override console.log on Heroku
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
# Override console.log on Heroku | |
# We are doing this console.log kills performance | |
console.log = if global.process.env.NODE_ENV? then () -> else console.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment