hapi-trails is a Hapi plugin for logging to the Papertrail service.
This plugin is just a wrapper around the winston-papertrail library. It's only designed to make integrating with Hapi easier.
Install hapi-trails with npm:
npm install hapi-trails --save
Register the plugin:
You can now log to Papertrail through
If you visit http://localhost:8000/hello/matt you should see a message appear in your Papertrail log.