Sub module of 'rewheel' (reinvent the wheel). A very simple log utility wrapping 'util.inspect', with basic 'MUTE' & 'DEBUG' switch.
npm install rewheel-logSub module of rewheel (reinvent the wheel).
A very simple log utility wrapping util.inspect, with basic MUTE & DEBUG switch.
The original intention to create this tool is to log Objects (JSON data) for debugging purpose.
__TODO?__
RFC5424
| Numerical Code | Severity | Description |
| -------------- | -------- | ----------- |
| 0 | Emergency | system is unusable |
| 1 | Alert | action must be taken immediately |
| 2 | Critical | critical conditions |
| 3 | Error | error conditions |
| 4 | Warning | warning conditions |
| 5 | Notice | normal but significant condition |
| 6 | Informational | informational messages |
| 7 | Debug | debug-level messages |