simple-logging v1.2.3
A simple Node.js logging module with no dependencies.
Installation
Using npm:
$ npm install --save simple-logging
In Node.js:
const l = ; lll var object = surprise: "\u0042\u004f\u004f\u0021"ll
Console output:
$ node example.js[INFO][1:12:17 PM] Some information.[WARN][1:12:17 PM] Somethings not quite right, but continuing anyways.[CRIT][1:12:17 PM] Something critical has occurred, getting outta here! [DEBUG][1:12:17 PM] I wonder what is inside my object...[DEBUG][1:12:17 PM] BOO!
Why simple-logging?
simple-logging is a lightweight module with 0 dependencies, allowing you to easily log different levels of information with a timestamp. simple-logging is great for:
- Logging server events
- Debugging
- Console applications