package severity
import "k8s.io/klog/v2/internal/severity"
Package severity provides definitions for klog severity (info, warning, ...)
Index ¶
Constants ¶
const Char = "IWEF"
Char contains one shortcut letter per severity level.
Variables ¶
var Name = []string{ InfoLog: "INFO", WarningLog: "WARNING", ErrorLog: "ERROR", FatalLog: "FATAL", }
Name contains one name per severity level.
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.
func ByName ¶
ByName looks up a severity level by name.
Source Files ¶
severity.go
- Version
- v2.100.1
- Published
- Apr 28, 2023
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 17 minutes ago –
Tools for package owners.