This commit is contained in:
=
2020-09-13 04:48:11 -07:00
parent 8df94da48c
commit a481ecfe37
4 changed files with 51 additions and 20 deletions

13
app/helpers/log.js Normal file
View File

@@ -0,0 +1,13 @@
const {
PRINT_CRAWLER_DEBUG
} = require("../config/appConfig");
const logDebug = (...args) => {
if (PRINT_CRAWLER_DEBUG) {
console.log(...args);
}
}
module.exports = {
logDebug
};