Versions in this module Expand all Collapse all v1 v1.0.1 Sep 24, 2024 Changes in this version + var MaxSize uint64 = 1024 * 1024 * 1800 + var Stats struct + func CalculateMaxSize() uint64 + func CopyStandardLogTo(name string) + func Error(args ...interface{}) + func ErrorDepth(depth int, args ...interface{}) + func ErrorS(err error, msg string, keysAndValues ...interface{}) + func ErrorSDepth(depth int, err error, msg string, keysAndValues ...interface{}) + func Errorf(format string, args ...interface{}) + func Errorln(args ...interface{}) + func Exit(args ...interface{}) + func ExitDepth(depth int, args ...interface{}) + func Exitf(format string, args ...interface{}) + func Exitln(args ...interface{}) + func Fatal(args ...interface{}) + func FatalDepth(depth int, args ...interface{}) + func Fatalf(format string, args ...interface{}) + func Fatalln(args ...interface{}) + func Flush() + func Info(args ...interface{}) + func InfoDepth(depth int, args ...interface{}) + func InfoS(msg string, keysAndValues ...interface{}) + func InfoSDepth(depth int, msg string, keysAndValues ...interface{}) + func Infof(format string, args ...interface{}) + func Infoln(args ...interface{}) + func InitFlags(flagset *flag.FlagSet) + func LogToStderr(stderr bool) + func SetLogFilter(filter LogFilter) + func SetLogger(logr logr.Logger) + func SetOutput(w io.Writer) + func SetOutputBySeverity(name string, w io.Writer) + func Warning(args ...interface{}) + func WarningDepth(depth int, args ...interface{}) + func Warningf(format string, args ...interface{}) + func Warningln(args ...interface{}) + type KMetadata interface + GetName func() string + GetNamespace func() string + type Level int32 + func (l *Level) Get() interface{} + func (l *Level) Set(value string) error + func (l *Level) String() string + type LogFilter interface + Filter func(args []interface{}) []interface{} + FilterF func(format string, args []interface{}) (string, []interface{}) + FilterS func(msg string, keysAndValues []interface{}) (string, []interface{}) + type ObjectRef struct + Name string + Namespace string + func KObj(obj KMetadata) ObjectRef + func KObjs(arg interface{}) []ObjectRef + func KRef(namespace, name string) ObjectRef + func (ref ObjectRef) String() string + type OutputStats struct + func (s *OutputStats) Bytes() int64 + func (s *OutputStats) Lines() int64 + type Verbose struct + func V(level Level) Verbose + func (v Verbose) Enabled() bool + func (v Verbose) Error(err error, msg string, args ...interface{}) + func (v Verbose) ErrorS(err error, msg string, keysAndValues ...interface{}) + func (v Verbose) Info(args ...interface{}) + func (v Verbose) InfoDepth(depth int, args ...interface{}) + func (v Verbose) InfoS(msg string, keysAndValues ...interface{}) + func (v Verbose) Infof(format string, args ...interface{}) + func (v Verbose) Infoln(args ...interface{})