Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facility ¶
type Facility int
Facility is part of the log priority
const ( // From /usr/include/sys/syslog.h. // These are the same up to LOG_FTP on Linux, BSD, and OS X. LogKern Facility = iota << 3 LogUser LogMail LogDaemon LogAuth LogSyslog LogLpr LogNews LogUucp LogCron LogAuthpriv LogFtp LogLocal0 LogLocal1 LogLocal2 LogLocal3 LogLocal4 LogLocal5 LogLocal6 LogLocal7 )
type Msg ¶
type Msg struct {
Severity Severity
Facility Facility
Sequence int // Sequence is the 64 bit message sequence number
Timestamp int // Timestamp is the monotonic timestamp in microseconds
Message string
}
Msg is the type of kernel message
Click to show internal directories.
Click to hide internal directories.