0.1.7 • Published 8 years ago
light-log v0.1.7
light-log
light weight log for an easy use with some functionalities.
Install
npm install --save light-log
Usage
The most easy use is:
log('some text');
log(error); // where error is an instance of Error.
The logger will detect what environment are you in and will write the log to a file of to the terminal depending on the situation.