Code Cleaning
This commit is contained in:
1 parent
6cbe3774e0
commit
6fce637fa6
9 files changed
+9
-22
No files matched your search
Binary file not shown.
+1
-1
@@ -2,7 +2,7 @@
|
||||
function newFile() {
|
||||
|
||||
const MODULE_NAME = "File";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
function newFileCache() {
|
||||
|
||||
const MODULE_NAME = "File Cache";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
function newFileCloud() {
|
||||
|
||||
const MODULE_NAME = "File Cloud";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
function newFileCursor() {
|
||||
|
||||
const MODULE_NAME = "File Cursor";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
function newFileCursorCache() {
|
||||
|
||||
const MODULE_NAME = "File Cursor Cache";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
function newFileSequence() {
|
||||
|
||||
const MODULE_NAME = "File Sequence";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
function newProductStorage(pName) {
|
||||
|
||||
const MODULE_NAME = "Product Storage";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
|
||||
+2
-15
@@ -1,12 +1,10 @@
|
||||
function newTimelineChart() {
|
||||
|
||||
const MODULE_NAME = "Timeline Chart";
|
||||
const FULL_LOG = true;
|
||||
const FULL_LOG = false;
|
||||
const logger = newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
|
||||
const CONSOLE_LOG = false;
|
||||
|
||||
let productPlotters = [];
|
||||
let competitionPlotters = [];
|
||||
|
||||
@@ -125,12 +123,6 @@
|
||||
|
||||
if (FULL_LOG === true) { logger.write("[INFO] initializeCompetitionPlotters -> onStorageInitialized -> onPlotterInizialized -> Entering function."); }
|
||||
|
||||
if (CONSOLE_LOG === true) {
|
||||
|
||||
console.log(competition.plotter.host, competition.plotter.repo, competition.plotter.moduleName + " Initialized. ");
|
||||
|
||||
}
|
||||
|
||||
let competitionPlotter = {
|
||||
plotter: plotter,
|
||||
storage: storage
|
||||
@@ -264,12 +256,7 @@
|
||||
function onPlotterInizialized() {
|
||||
|
||||
if (FULL_LOG === true) { logger.write("[INFO] initializeProductPlotter -> onStorageInitialized -> onPlotterInizialized -> Entering function."); }
|
||||
|
||||
if (CONSOLE_LOG === true) {
|
||||
|
||||
console.log(pProductCard.product.plotter.devTeam + '->' + pProductCard.product.plotter.repo + '->' + pProductCard.product.plotter.moduleName + " Initialized. ");
|
||||
|
||||
}
|
||||
if (FULL_LOG === true) { logger.write("[INFO] initializeProductPlotter -> onStorageInitialized -> onPlotterInizialized -> key = " + pProductCard.product.plotter.devTeam + "-" + pProductCard.product.plotter.repo + "-" + pProductCard.product.plotter.moduleName); }
|
||||
|
||||
try {
|
||||
plotter.positionAtDatetime(INITIAL_DATE);
|
||||
|
||||
Reference in new issue
Block a user