verbose-console-log
Standard node.js console.log not shows line numbers, verbose-console-log do.
Installation
npm install verbose-console-log --save
Usage
var logger = ; logger;logger; try something; catcherr logger;
Output:
~/src/index.js:3:8 foo bar~/src/index.js:4:8 baz bat~/src/index.js:9:12 asdf qwer
Capabilities
You can use this with source maps, if there is appropriate *.map file next to your file, for example:
/src
| index.js
| index.js.map
Testing
For testing, you must install mocha and run gulp and mocha
cd verbose-console-lognpm i -g mochagulpmocha