npm install consolestack
Console stack is a very simple library that appends a stacktrace line number to each console message for improved debugging. This becomes helpful for larger node.js applications.
Simply require the library and the rest is done automatically.
require('consolestack');
1.0.2
- Added console.err as a method to avoid stamp output for console.error/warn.
1.0.1
- Added console.out as a method to avoid stamp output for console.log.
- Stack trace now excludes CWD for logging
1.0.0
- Release Version