Node.js node-syslog log message

Description

Node.js node-syslog log message


console.log('npm install node-syslog');

var Syslog = require('node-syslog').Syslog;

Syslog.init("node-syslog", Syslog.LOG_PID | Syslog.LOG_ODELAY, Syslog.LOG_INFO);
Syslog.log(Syslog.LOG_INFO, "Node Syslog Module output " + new Date());



PreviousNext

Related