Versions in this module Expand all Collapse all v1 v1.2.100 Jun 28, 2022 Changes in this version + func New(fn func(prefix, args string), opts Options) logr.Logger + func NewJSON(fn func(obj string), opts Options) logr.Logger + 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 []interface{}) + func (f *Formatter) Init(info logr.RuntimeInfo) + func (f Formatter) Enabled(level int) bool + func (f Formatter) FormatError(err error, msg string, kvList []interface{}) (prefix, argsStr string) + func (f Formatter) FormatInfo(level int, msg string, kvList []interface{}) (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 []interface{}) []interface{} + RenderBuiltinsHook func(kvList []interface{}) []interface{} + RenderValuesHook func(kvList []interface{}) []interface{} + TimestampFormat string + Verbosity int + type PseudoStruct []interface + type Underlier interface + GetUnderlying func() func(prefix, args string)