Documentation
¶
Index ¶
- func ClampLevel(l Level)
- func Error(args ...interface{})
- func ErrorDepth(_ int, args ...interface{})
- func ErrorS(err error, msg string, keysAndValues ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorln(args ...interface{})
- func Exit(args ...interface{})
- func ExitDepth(_ int, args ...interface{})
- func Exitf(format string, args ...interface{})
- func Exitln(args ...interface{})
- func Fatal(args ...interface{})
- func FatalDepth(_ int, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalln(args ...interface{})
- func Info(args ...interface{})
- func InfoDepth(_ int, args ...interface{})
- func InfoS(msg string, keysAndValues ...interface{})
- func InfoSDepth(_ int, msg string, keysAndValues ...interface{})
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func SetLogger(l log.Logger)
- func Warning(args ...interface{})
- func WarningDepth(_ int, args ...interface{})
- func Warningf(format string, args ...interface{})
- func Warningln(args ...interface{})
- type Level
- type ObjectRef
- type Verbose
- func (v Verbose) Enabled() bool
- func (v Verbose) Info(args ...interface{})
- func (v Verbose) InfoS(msg string, keysAndValues ...interface{})
- func (v Verbose) InfoSDepth(_ int, msg string, keysAndValues ...interface{})
- func (v Verbose) Infof(format string, args ...interface{})
- func (v Verbose) Infoln(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClampLevel ¶
func ClampLevel(l Level)
ClampLevel clamps the leveled logging at the specified value. It must be called prior any call to klog.
func ErrorDepth ¶
func ErrorDepth(_ int, args ...interface{})
func FatalDepth ¶
func FatalDepth(_ int, args ...interface{})
func InfoSDepth ¶
func SetLogger ¶
SetLogger redirects klog logging to the given logger. It must be called prior any call to klog.
func WarningDepth ¶
func WarningDepth(_ int, args ...interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.