polds / logrus-papertrail-hook

Papertrail hook for Logrus - https://github.com/sirupsen/logrus
MIT License
12 stars 8 forks source link

Add support for Hostnames #1

Closed polds closed 8 years ago

polds commented 8 years ago

Radically changes the API for this, instead of passing named fields you now pass the Hook object. Now supports the ability to set custom hostnames. As of present it is up to the user to define the hostname to use. Previous iterations of similar functionality determined the hostname on behalf of the user, now it is up to the user to do so.