Documentation ¶
Overview ¶
Package logformat contains different implementations of log formatting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DmesgOutput ¶
type DmesgOutput struct {
// contains filtered or unexported fields
}
DmesgOutput is used to print logs in dmesg format.
func NewDmesgOutput ¶
func NewDmesgOutput(rdr io.Reader) *DmesgOutput
NewDmesgOutput returns a new DmesgOutput.
type OmniOutput ¶
type OmniOutput struct {
// contains filtered or unexported fields
}
OmniOutput is a log output which parses logs from Talos machine and prints them in zap'like format.
func NewOmniOutput ¶
func NewOmniOutput(rdr io.Reader) *OmniOutput
NewOmniOutput returns a new OmniOutput.
type RawOutput ¶
type RawOutput struct {
// contains filtered or unexported fields
}
RawOutput simply copies the input rdr to os.Stdout.
func NewRawOutput ¶
NewRawOutput runs the raw log format.
Click to show internal directories.
Click to hide internal directories.