Date
This commit is contained in:
1 parent
92686f87e8
commit
58c58b706d
3 files changed
+9
-12
No files matched your search
@@ -2,12 +2,12 @@ exports.newDebugLog = function newDebugLog() {
|
||||
|
||||
const MODULE_NAME = "DebugLog";
|
||||
|
||||
let executionDatetime = "D." + global.EXECUTION_DATETIME.getUTCFullYear() +
|
||||
"." + pad(global.EXECUTION_DATETIME.getUTCMonth() + 1, 2) +
|
||||
"." + pad(global.EXECUTION_DATETIME.getUTCDate(), 2) +
|
||||
".T." + pad(global.EXECUTION_DATETIME.getUTCHours(), 2) +
|
||||
"." + pad(global.EXECUTION_DATETIME.getUTCMinutes(), 2) +
|
||||
"." + pad(global.EXECUTION_DATETIME.getUTCSeconds(), 2);
|
||||
let executionDatetime = "D." + TS.projects.superalgos.globals.nodeJSConstants.EXECUTION_DATETIME.getUTCFullYear() +
|
||||
"." + pad(TS.projects.superalgos.globals.nodeJSConstants.EXECUTION_DATETIME.getUTCMonth() + 1, 2) +
|
||||
"." + pad(TS.projects.superalgos.globals.nodeJSConstants.EXECUTION_DATETIME.getUTCDate(), 2) +
|
||||
".T." + pad(TS.projects.superalgos.globals.nodeJSConstants.EXECUTION_DATETIME.getUTCHours(), 2) +
|
||||
"." + pad(TS.projects.superalgos.globals.nodeJSConstants.EXECUTION_DATETIME.getUTCMinutes(), 2) +
|
||||
"." + pad(TS.projects.superalgos.globals.nodeJSConstants.EXECUTION_DATETIME.getUTCSeconds(), 2);
|
||||
|
||||
let messageId = 0;
|
||||
|
||||
|
||||
@@ -7,11 +7,7 @@ exports.newGlobals = function () {
|
||||
return thisObject;
|
||||
|
||||
function initialize() {
|
||||
|
||||
/* This is the Execution Datetime */
|
||||
|
||||
global.EXECUTION_DATETIME = new Date();
|
||||
|
||||
|
||||
global.LOGGER_MAP = new Map() // We will put all the loggers in a map, so that we can eventually finalize them.
|
||||
global.SESSION_MAP = new Map() // We will put all the sessions in a map, so that we can eventually finalize them.
|
||||
|
||||
|
||||
Reference in new issue
Block a user