winston-logmatic
Winston transport for Logmatic
npm i -S winston-logmatic
Config
You need to pass down a node-logmatic config objects to winston-logmatic for him to work.
logmatic: token: undefined // Required : your Logmatic token defaultProps: {} // add a default value to your log messages (like appname or hostname)
Examples
transports: colorize: true timestamp: true logmatic: token: 'MY_TOKEN' defaultProps: appname: name hostname: 'prod' timestamp: true level: 'debug';