Documentation ¶
Index ¶
- func ClampLevel(l Level)
- func Error(args ...interface{})
- func ErrorDepth(depth int, args ...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 Info(args ...interface{})
- func InfoDepth(depth int, args ...interface{})
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func SetLogger(l log.Logger)
- func Warning(args ...interface{})
- func WarningDepth(depth int, args ...interface{})
- func Warningf(format string, args ...interface{})
- func Warningln(args ...interface{})
- type Level
- type Verbose
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(depth int, args ...interface{})
func FatalDepth ¶
func FatalDepth(depth int, args ...interface{})
func SetLogger ¶
SetLogger redirects klog logging to the given logger. It must be called prior any call to klog.
func WarningDepth ¶
func WarningDepth(depth int, args ...interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.