Fixing option for console logs
This commit is contained in:
1 parent
be4c971334
commit
f375195c75
1 file changed
+1
-1
+1
-1
@@ -129,7 +129,7 @@ exports.newDebugLog = function newDebugLog() {
|
||||
let message = "['" + newDate + "'," + messageId + ",'" + pModule + "','" + pMessage + "']"
|
||||
let logLine = '\r\n' + message;
|
||||
|
||||
if (process.env.INTER_PROCESS_FILES_PATH === "true" || message.indexOf("ERROR") > 0) {
|
||||
if (process.env.CONSOLE_LOG === "true" || message.indexOf("ERROR") > 0) {
|
||||
console.log(message)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user