node-red-contrib-advance-logger 1.0.2
Advance logger for Node-Red
node-red-contrib-advance-logger
A Node-RED Logging node.
Advance Logger
is providing multi transport logging capability (file, console and debug) for Node-Red.
Advance Logger depend on the file logging library called Winston
.
Goal of Advance Logger is to be a simple logger for Node-Red.
Installation
Install node-red-contrib-advance-logger
using npm
npm install --save node-red-contrib-advance-logger
Features
- Multiple transports (File, Console and Debug)
- Log archiving.
- Log rotating.
- Logging levels.
Usage
To use the node, launch Node-RED (see running Node-RED for help getting started).
The input payload should be JSON.
Any attribute in the payload JSON can be use as the info type logging.
The input payload JSON should have following properties for warning and error logging.
warn
– warning loggingerror
– error logging
Icon credit
The node icon is the readability icon from Material Design Icons by Austin Andrews @Templarian.
License
MIT © Jayathu Amarasinghe