Rollbar logging transport for Loglog
Install
npm install --save loglog-rollbar
Usage
var loglog = require('loglog');
// Log 'error' and 'warn' level entries to Rollbar
var logger = loglog.create( 'App', {
transports: [
require('loglog-rollbar')({
msg: 'Loglog Error'
, levels: ['error', 'warn']
, accessToken: 'ACCESS_TOKEN_HERE'
})
]
});