More logs adjustments

This commit is contained in:
Luis Fernando Molina committed 2018-03-09 09:11:03 +01:00
1 parent 1161832511
commit 8a0020ab84
3 files changed
+8 -3

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
exports.newContext = function newContext(BOT, DEBUG_MODULE, FILE_STORAGE, UTILITIES) {
const FULL_LOG = true;
const LOG_FILE_CONTENT = false;
/*
@@ -213,7 +214,7 @@
return;
}
if (FULL_LOG === true) {
if (LOG_FILE_CONTENT === true) {
logger.write("[INFO] initialize -> getExecutionHistory -> onFileReceived -> Content received = " + text);
}
@@ -480,7 +481,7 @@
return;
}
if (FULL_LOG === true) {
if (LOG_FILE_CONTENT === true) {
logger.write("[INFO] saveThemAll -> writeExucutionHistory -> onFolderCreated -> onFileCreated -> Content written = " + fileContent);
}