package glog
import "k8s.io/klog/glog"
Package glog exposes an API subset of the glog(https://github.com/golang/glog) package. All logging state delivered to this package is shunted to the global [klog logger](ttps://github.com/kubernetes/klog).
We depend on some downstream components that use glog for logging. This package makes it so we can intercept the calls to glog and redirect them to klog and thus produce a consistent log for our processes.
Index ¶
- 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 Flush()
- func Info(args ...interface{})
- func InfoDepth(depth int, args ...interface{})
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func Warning(args ...interface{})
- func WarningDepth(depth int, args ...interface{})
- func Warningf(format string, args ...interface{})
- func Warningln(args ...interface{})
- type Level
- type Verbose
Functions ¶
func Error ¶
func Error(args ...interface{})
Error is a shim
func ErrorDepth ¶
func ErrorDepth(depth int, args ...interface{})
ErrorDepth is a shim
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf is a shim
func Errorln ¶
func Errorln(args ...interface{})
Errorln is a shim
func Exit ¶
func Exit(args ...interface{})
Exit is a shim
func ExitDepth ¶
func ExitDepth(depth int, args ...interface{})
ExitDepth is a shim
func Exitf ¶
func Exitf(format string, args ...interface{})
Exitf is a shim
func Exitln ¶
func Exitln(args ...interface{})
Exitln is a shim
func Fatal ¶
func Fatal(args ...interface{})
Fatal is a shim
func FatalDepth ¶
func FatalDepth(depth int, args ...interface{})
FatalDepth is a shim
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf is a shim
func Fatalln ¶
func Fatalln(args ...interface{})
Fatalln is a shim
func Flush ¶
func Flush()
Flush is a shim
func Info ¶
func Info(args ...interface{})
Info is a shim
func InfoDepth ¶
func InfoDepth(depth int, args ...interface{})
InfoDepth is a shim
func Infof ¶
func Infof(format string, args ...interface{})
Infof is a shim
func Infoln ¶
func Infoln(args ...interface{})
Infoln is a shim
func Warning ¶
func Warning(args ...interface{})
Warning is a shim
func WarningDepth ¶
func WarningDepth(depth int, args ...interface{})
WarningDepth is a shim
func Warningf ¶
func Warningf(format string, args ...interface{})
Warningf is a shim
func Warningln ¶
func Warningln(args ...interface{})
Warningln is a shim
Types ¶
type Level ¶
type Level int32
Level is a shim
type Verbose ¶
type Verbose bool
Verbose is a shim
func V ¶
V is a shim
func (Verbose) Info ¶
func (v Verbose) Info(args ...interface{})
Info is a shim
func (Verbose) Infof ¶
Infof is a shim
func (Verbose) Infoln ¶
func (v Verbose) Infoln(args ...interface{})
Infoln is a shim
Source Files ¶
glog.go
- Version
- v0.1.0
- Published
- Nov 13, 2018
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 4 months ago –
Tools for package owners.