This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ConsoleLogUtility { | |
constructor() { | |
} | |
/** | |
* Log a message to the console and an optional bg color for compliant browser dev consoles (e.g. Chrome). | |
* TODO: pass a styles object for further layout specialization. | |
**/ | |
consoleLog (message, bgColor='#ded') { | |
if(typeof(console) !== "undefined" && console.log !== undefined) { |