Files
console/output/verbosity/verbosity_string.go
andrey 71f774aa5a
All checks were successful
Go Action / goaction (pull_request) Successful in 52s
update go tools
2025-12-27 21:41:14 +03:00

29 lines
725 B
Go

// Code generated by "stringer -type=Verbosity -linecomment"; DO NOT EDIT.
package verbosity
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Quiet - -1]
_ = x[Norm-0]
_ = x[Info-1]
_ = x[Debug-2]
_ = x[Trace-3]
}
const _Verbosity_name = "quietnorminfodebugtrace"
var _Verbosity_index = [...]uint8{0, 5, 9, 13, 18, 23}
func (i Verbosity) String() string {
idx := int(i) - -1
if i < -1 || idx >= len(_Verbosity_index)-1 {
return "Verbosity(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Verbosity_name[_Verbosity_index[idx]:_Verbosity_index[idx+1]]
}