zemirco / papertrail

Golang client for papertrail
6 stars 3 forks source link

allow a destination string like "logs4.papertrail.app:12345" #3

Open ecc1 opened 8 years ago

ecc1 commented 8 years ago

A simple auxiliary function: func Destination(hostColonPort string, network string) *Writer would be useful, in case papertrail ever adds new domain names, and because that's how the papertrail website refers to destinations.

ecc1 commented 8 years ago

A String() method on *papertrail.Writer that returns the "logsN.papertrailapp.comm:12345" string would also be useful.

chuckhacker commented 7 years ago

+1

I plan on using LogDNA instead of Papertrail (also uses rsyslogd), and this would be helpful.