Make console output switchable on node.js.