1.0.1 • Published 5 years ago
@cryptobuilders/ark-papertrail v1.0.1
ARK Papertrail Logging
Send Winston logs to Papertrail.
Installation
Clone
yarn global add @cryptobuilders/ark-papertrail
Register Plugin
Edit the plugin config file located at:
~/.config/ark-core/{mainnet|devnet|testnet}/plugins.js
Add the following snippet right after core-logger-winston
gets included:
module.exports = {
'@arkecosystem/core-event-emitter': {},
'@arkecosystem/core-logger-winston': {},
'@cryptobuilders/ark-papertrail': {
// Full options list at https://github.com/kenperkins/winston-papertrail/tree/v2#usage
host: 'logs.papertrailapp.com',
port: 12345
},
// ...
}
Credits
License
MIT © Cryptobuilders OÜ