rewheel-log
v0.0.6
Published
Sub module of 'rewheel' (reinvent the wheel). A very simple log utility wrapping 'util.inspect', with basic 'MUTE' & 'DEBUG' switch.
Downloads
2
Readme
rewheel-log
Sub 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 |