This repository has been archived on 2025-05-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
synchronizator-go/pkg/loglevel_string.go

25 lines
640 B
Go

// Code generated by "stringer -type=LogLevel"; DO NOT EDIT.
package synchronizator
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[ERROR-0]
_ = x[INFO-1]
_ = x[DEBUG-2]
}
const _LogLevel_name = "ERRORINFODEBUG"
var _LogLevel_index = [...]uint8{0, 5, 9, 14}
func (i LogLevel) String() string {
if i < 0 || i >= LogLevel(len(_LogLevel_index)-1) {
return "LogLevel(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _LogLevel_name[_LogLevel_index[i]:_LogLevel_index[i+1]]
}