Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
// TimeFormat defines time.Format() layout to
// use when appending a timestamp to log entry.
TimeFormat string
// contains filtered or unexported fields
}
type FormatFunc ¶
type FormatFunc func(buf *byteutil.Buffer, stamp time.Time, pc uintptr, lvl level.LEVEL, kvs []kv.Field, msg string) //nolint:revive
FormatFunc defines a function capable of formatting a log entry (args = 1+) to a given buffer (args = 0).
Click to show internal directories.
Click to hide internal directories.