diff --git a/src/Drawer.js b/src/Drawer.js index ff2bb62d..f26d955c 100644 --- a/src/Drawer.js +++ b/src/Drawer.js @@ -173,9 +173,9 @@ class Drawer { this.canvasWrapper.reset(); if (this.opts.debug) { - console.log(this.graph); - console.log(this.rings); - console.log(this.ringConnections); + console.debug("Drawer -> draw -> Graph:", this.graph); + console.debug("Drawer -> draw -> Rings:", this.rings); + console.debug("Drawer -> draw -> RingConnections", this.ringConnections); } } } @@ -3041,4 +3041,4 @@ class Drawer { } } -module.exports = Drawer; \ No newline at end of file +module.exports = Drawer; diff --git a/src/SvgDrawer.js b/src/SvgDrawer.js index 17394cf2..0e869aa6 100644 --- a/src/SvgDrawer.js +++ b/src/SvgDrawer.js @@ -44,9 +44,9 @@ class SvgDrawer { this.drawVertices(preprocessor.opts.debug); if (preprocessor.opts.debug) { - console.log(preprocessor.graph); - console.log(preprocessor.rings); - console.log(preprocessor.ringConnections); + console.debug("SvgDrawer -> draw -> Graph:", preprocessor.graph); + console.debug("SvgDrawer -> draw -> Rings:", preprocessor.rings); + console.debug("SvgDrawer -> draw -> RingConnections", preprocessor.ringConnections); } return this.svgWrapper.constructSvg(); @@ -336,4 +336,4 @@ class SvgDrawer { } } -module.exports = SvgDrawer; \ No newline at end of file +module.exports = SvgDrawer; diff --git a/src/UtilityFunctions.js b/src/UtilityFunctions.js index 04d5f688..ffd73575 100644 --- a/src/UtilityFunctions.js +++ b/src/UtilityFunctions.js @@ -4,7 +4,7 @@ * @returns {String} A string representing a charge. */ function getChargeText(charge) { - console.log('in the utility version of getChargeText'); + // console.log('in the utility version of getChargeText'); if (charge === 1) { return '+' } else if (charge === 2) { @@ -20,4 +20,4 @@ function getChargeText(charge) { module.exports = { getChargeText, -} \ No newline at end of file +}