intel-syslog

A syslog handler for intel.

npm install intel-syslog
4 downloads in the last week
9 downloads in the last month

intel-syslog

Build Status NPM version

A syslog log handler for intel.

Usage

var SyslogHandler = require('intel-syslog');

intel.addHandler(new SyslogHandler({
  name: 'myApp', // output in syslog
  address: '127.0.0.1',
  port: 514,
  facility: 'user'
}));

Or with intel.config():

intel.config({
  // formatters...
  handlers: {
    syslog: {
      'class': 'intel-syslog',
      'name': 'myApp',
      'address': '127.0.0.1' // etc
    }
  }
  //loggers
});
npm loves you