Fixing more Logging Problems
This commit is contained in:
1 parent
67d1171511
commit
6b60bd9806
4 files changed
+225
-95
No files matched your search
+6
-4
@@ -24,15 +24,15 @@
|
||||
|
||||
let blobContent = "[";
|
||||
|
||||
let disableCloudLogging;
|
||||
let disableLogging;
|
||||
|
||||
return thisObject;
|
||||
|
||||
function initialize(pDisableCloudLogging) {
|
||||
function initialize(pdisableLogging) {
|
||||
|
||||
disableCloudLogging = pDisableCloudLogging
|
||||
disableLogging = pdisableLogging
|
||||
|
||||
if (disableCloudLogging !== true) {
|
||||
if (disableLogging !== true) {
|
||||
thisObject.bot.eventHandler.listenToEvent("Close Log File", onLoopFinished);
|
||||
}
|
||||
}
|
||||
@@ -129,6 +129,8 @@
|
||||
|
||||
try {
|
||||
|
||||
if (disableLogging === true) { return; }
|
||||
|
||||
console.log("AACloud" + spacePad(thisObject.fileName, 50) + " : " + Message);
|
||||
|
||||
if (thisObject.bot === undefined) { return; }
|
||||
|
||||
Reference in new issue
Block a user