winston-logentries-transport
v0.0.1
Published
A Logentries transport for winston
Downloads
15
Readme
winston-logentries-transport
A Logentries transport for Winston.
Install
NPM
$ npm install winston-logentries-transport
Node.js
var winston = require('winston');
var Logentries = require('winston-logentries-transport').Logentries;
winston.add(new Logentries({ token: 'YOUR TOKEN HERE' });
Configuration Options
When you create the transport you can supply the following options:
token
(string) Required. Logentries destination token uuidsecure
(Boolean) Optional. Use tls for communication, default is falselevels
(Map) Optional. Custom log levels, default is syslog-styleprinterror
(Boolean) Optional. Print errors to STDERR with console.error, default is truetimestamp
(Boolean) Optional. Autogenerate a timestamp, default is trueusequotes
(Boolean) Optional. Add double quotes around every field, default is false