Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syslogger ¶
type Syslogger interface { // WriteLevel is used to write a message at a given level WriteLevel(Priority, []byte) error // Write is used to write a message at the default level Write([]byte) (int, error) // Close is used to close the connection to the logger Close() error }
Syslogger interface is used to write log messages to syslog
func DialLogger ¶
DialLogger is used to construct a new Syslogger that establishes connection to remote syslog server
Click to show internal directories.
Click to hide internal directories.