consolestack
v1.0.2
Published
Improve console functions with file and line number output
Downloads
36
Readme
Installation
npm install consolestack
What does it do?
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.
How to use it
Simply require the library and the rest is done automatically.
require('consolestack');
Changelog
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