Documentation ¶
Overview ¶
Package severity provides definitions for klog severity (info, warning, ...)
Index ¶
Constants ¶
View Source
const Char = "IWEF"
Char contains one shortcut letter per severity level.
Variables ¶
View Source
var Name = []string{ InfoLog: "INFO", WarningLog: "WARNING", ErrorLog: "ERROR", FatalLog: "FATAL", }
Name contains one name per severity level.
Functions ¶
This section is empty.
Types ¶
type Severity ¶
type Severity int32 // sync/atomic int32
severity identifies the sort of log: info, warning etc. The binding to flag.Value is handled in klog.go
These constants identify the log levels in order of increasing severity. A message written to a high-severity log file is also written to each lower-severity log file.
Click to show internal directories.
Click to hide internal directories.