|
// Code generated by "stringer -type=Severity -linecomment"; DO NOT EDIT. |
|
// An "invalid array index" compiler error signifies that the constant values have changed. |
|
// Re-run the stringer command to generate them again. |
|
_ = x[SeverityUndefined-0] |
|
const _Severity_name = "UNDEFINEDTRACETRACE2TRACE3TRACE4DEBUGDEBUG2DEBUG3DEBUG4INFOINFO2INFO3INFO4WARNWARN2WARN3WARN4ERRORERROR2ERROR3ERROR4FATALFATAL2FATAL3FATAL4" |
|
var _Severity_index = [...]uint8{0, 9, 14, 20, 26, 32, 37, 43, 49, 55, 59, 64, 69, 74, 78, 83, 88, 93, 98, 104, 110, 116, 121, 127, 133, 139} |
|
func (i Severity) String() string { |
|
if i < 0 || idx >= len(_Severity_index)-1 { |
|
return "Severity(" + strconv.FormatInt(int64(i), 10) + ")" |
|
return _Severity_name[_Severity_index[idx]:_Severity_index[idx+1]] |