kmsg

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0, MIT, MPL-2.0 Imports: 5 Imported by: 0

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL