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. LOG_KERN Facility = iota << 3 LOG_USER LOG_MAIL LOG_DAEMON LOG_AUTH LOG_SYSLOG LOG_LPR LOG_NEWS LOG_UUCP LOG_CRON LOG_AUTHPRIV LOG_FTP LOG_LOCAL0 LOG_LOCAL1 LOG_LOCAL2 LOG_LOCAL3 LOG_LOCAL4 LOG_LOCAL5 LOG_LOCAL6 LOG_LOCAL7 )
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.