Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct { // Connection Details Host string Port int // App Details Appname string Hostname string // contains filtered or unexported fields }
PapertrailHook to send logs to a logging service compatible with the Papertrail API.
func NewPapertrailHook ¶
NewPapertrailHook creates a hook to be added to an instance of logger.
Click to show internal directories.
Click to hide internal directories.