Skip to content

Instantly share code, notes, and snippets.

@tj
Created October 25, 2013 16:06
Show Gist options
  • Save tj/7157148 to your computer and use it in GitHub Desktop.
Save tj/7157148 to your computer and use it in GitHub Desktop.
lib/log.js
var conf = require('config');
module.exports = conf('use production logger')
? require('log-prod')
: require('log-dev');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment