node-red-contrib-advance-logger 1.0.2

Advance logger for Node-Red

npm install node-red-contrib-advance-logger

Build status NPM version License: MIT

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 logging
  • error – error logging

Icon credit

The node icon is the readability icon from Material Design Icons by Austin Andrews @Templarian.

License

MIT © Jayathu Amarasinghe

Node Info

Version: 1.0.2
Updated 7 years, 10 months ago
License: MIT
Rating: 5.0 1

Actions

Rate:

Downloads

23 in the last week

Nodes

  • logger

Keywords

  • file logger
  • winston
  • node-red

Maintainers