ConditionalConsole
This allows for chained conditions, before outputting to console.log()
. And (the important part) it supports showing the correct line, from where the log is called.
Installation
npm install conditional-console
Or include the ConditionalConsole.min.js
file in..
Usage
This simple example gives the general idea.
cci;cci
There's also an build in reporting system.
cciccitype'verbose';ccitype'error';ccitype'error';