package
0.0.0-20230612185617-302a3615d0b2
Repository: https://github.com/microsoft/kubedevice-api.git
Documentation: pkg.go.dev

# Functions

AddFlags registers this package's flags on arbitrary FlagSets, such that they point to the same value as the global flags.
CopyStandardLogTo arranges for messages written to the Go "log" package's default logs to also appear in the Google logs for the named and lower severities.
Error logs to the ERROR, WARNING, and INFO logs.
ErrorDepth acts as Error but uses depth to determine which call frame to log.
Errorf logs to the ERROR, WARNING, and INFO logs.
Errorln logs to the ERROR, WARNING, and INFO logs.
Exit logs to the FATAL, ERROR, WARNING, and INFO logs, then calls os.Exit(1).
ExitDepth acts as Exit but uses depth to determine which call frame to log.
Exitf logs to the FATAL, ERROR, WARNING, and INFO logs, then calls os.Exit(1).
Exitln logs to the FATAL, ERROR, WARNING, and INFO logs, then calls os.Exit(1).
Fatal logs to the FATAL, ERROR, WARNING, and INFO logs, including a stack trace of all running goroutines, then calls os.Exit(255).
FatalDepth acts as Fatal but uses depth to determine which call frame to log.
Fatalf logs to the FATAL, ERROR, WARNING, and INFO logs, including a stack trace of all running goroutines, then calls os.Exit(255).
Fatalln logs to the FATAL, ERROR, WARNING, and INFO logs, including a stack trace of all running goroutines, then calls os.Exit(255).
Flush flushes all pending log I/O.
FlushLogs flushes logs immediately.
GlogSetter is a setter to set glog level.
Info logs to the INFO log.
InfoDepth acts as Info but uses depth to determine which call frame to log.
Infof logs to the INFO log.
Infoln logs to the INFO log.
InitFlags is for explicitly initializing the flags.
InitLogs initializes logs the way we want for kubernetes.
No description provided by the author
NewLogger creates a new log.Logger which sends logs to kdlog.Info.
SetOutput sets the output destination for all severities.
SetOutputBySeverity sets the output destination for specific severity.
V reports whether verbosity at the call site is at least the requested level.
Warning logs to the WARNING and INFO logs.
WarningDepth acts as Warning but uses depth to determine which call frame to log.
Warningf logs to the WARNING and INFO logs.
Warningln logs to the WARNING and INFO logs.

# Variables

MaxSize is the maximum size of a log file in bytes.
Stats tracks the number of lines of output and number of bytes per severity level.

# Structs

KlogWriter serves as a bridge between the standard log package and the glog package.
OutputStats tracks the number of output lines and bytes written.

# Type aliases

Level specifies a level of verbosity for V logs.
Verbose is a boolean type that implements Infof (like Printf) etc.