gl-store-s3.js/lib/debug.js

7 lines
156 B
JavaScript
Raw Permalink Normal View History

2019-05-09 20:20:14 +00:00
module.exports = (debug) => {
if (!debug) {
console = console || {};
console.log = () => { };
console.error = () => { };
}
}