Versions in this module Expand all Collapse all v0 v0.2.1 Oct 18, 2023 v0.2.0 Oct 12, 2023 Changes in this version type Formatter + func NewFormatterKlog(opts Options) Formatter v0.1.0 Oct 12, 2023 Changes in this version + type Caller struct + File string + Func string + Line int + type Formatter struct + func NewFormatter(opts Options) Formatter + func NewFormatterJSON(opts Options) Formatter + func (f *Formatter) AddCallDepth(depth int) + func (f *Formatter) AddName(name string) + func (f *Formatter) AddValues(kvList []any) + func (f *Formatter) Init(info logr.RuntimeInfo) + func (f Formatter) Enabled(level int) bool + func (f Formatter) FormatError(err error, msg string, kvList []any) (prefix, argsStr string) + func (f Formatter) FormatInfo(level int, msg string, kvList []any) (prefix, argsStr string) + func (f Formatter) GetDepth() int + type MessageClass int + const All + const Error + const Info + const None + type Options struct + LogCaller MessageClass + LogCallerFunc bool + LogTimestamp bool + MaxLogDepth int + RenderArgsHook func(kvList []any) []any + RenderBuiltinsHook func(kvList []any) []any + RenderValuesHook func(kvList []any) []any + TimestampFormat string + Verbosity int + type PseudoStruct []any