Direct console log to logentries
const logEntriesConsole = require('console-logentries');
// should be in the entry point of the applications
logEntriesConsole.register({ token: 'XXX', print: true });
token
: required; logentries destination token uuidsecure
: optional; default is false; use tls for communicationtransport
: optional; default is LogEntriesTransport; transport objectlevels
: optional; default is syslog-style; custom log levelsprinterror
: optional; default is true; print errors to STDERR with console.errortimestamp
: optional; default is true; autogenerate a timestampusequotes
: optional; default is false; add double quotes around every fieldprint
: optional; default is false; print everything to console