Documentation
¶
Overview ¶
Package syslog logs to syslog
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Receiver ¶
type Receiver struct {
// contains filtered or unexported fields
}
Receiver writes log messages to syslog
func NewReceiver ¶
NewReceiver creates a new syslog receiver with the given URI. The URI should be in the format "udp://host:port", "tcp://host:port", or "unix:///path/to/socket".
Click to show internal directories.
Click to hide internal directories.