bunyan-logentries

Bunyan logger stream for Logentries

bunyan-logentries

Bunyan logger stream for Logentries.

First install bunyan:

$ npm install --save bunyan

Then install bunyan-logentries:

$ npm install --save bunyan-logentries

Note: the stream type must be raw.

var bunyan = require('bunyan');
var bunyanLogentries = require('bunyan-logentries');
 
var logger = bunyan.createLogger({
  streams: [{
      level: 'info'
    , stream: bunyanLogentries.createStream({ token: token })
    , type: 'raw'
  }];
});

token should be obtained from Logentries.

MIT. See LICENSE