Documentation
¶
Overview ¶
Package papertrail provides utilities for using syslog with Papertrail
Package papertrail implements a papertrail logfmt format handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Papertrail settings. Host string // Host subdomain such as "logs4" Port int // Port number // Application settings Hostname string // Hostname value Tag string // Tag value // Advanced: tweak how we send logs to papertrail // Capacity is the amount of log to queue before // we start dropping, write timeout dictates how // long we should wait before giving up on a write Capacity int ConnectTimeout time.Duration WriteTimeout time.Duration }
Config for Papertrail.
Click to show internal directories.
Click to hide internal directories.