Documentation ¶ Index ¶ type Facility func (p Facility) String() string type Msg func Read() ([]*Msg, error) func (m *Msg) String() string type Severity func (p Severity) String() string 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 func (Facility) String ¶ func (p Facility) String() string String implements the stringer interface 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 func Read ¶ func Read() ([]*Msg, error) Read reads all available kernel messages func (*Msg) String ¶ func (m *Msg) String() string String implements the stringer interface type Severity ¶ type Severity int Severity is part of the log priority func (Severity) String ¶ func (p Severity) String() string String implements the stringer interface Source Files ¶ View all Source files read.go types.go Click to show internal directories. Click to hide internal directories.