Skip to content

Instantly share code, notes, and snippets.

@malulleybovo
malulleybovo / iLog.js
Created November 28, 2017 23:16
iLog - Intelligent Logger that personalizes console.log, console.warn, console.error, and console.info
/**
* iLog : intelligent logger.
* Supports : .log(), .warn(), .error(), and .info()
* Configuring :
* Change iLogCfg to your fit.
* Supports color changes and enable/disable stack trace for each of the log functions
* Use :
* console.ilog('my comment');
* -> my comment
* console.ilog(myVar1, myVar2, [more...]);