Skip to content

Instantly share code, notes, and snippets.

@mattnull
Created November 13, 2013 23:58
Show Gist options
  • Save mattnull/7458769 to your computer and use it in GitHub Desktop.
Save mattnull/7458769 to your computer and use it in GitHub Desktop.
Override console.log on Heroku
# 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