ac1c041377
* -vv or --log-level DEBUG * -v or --log-level INFO * --log-level NOTICE (default) * -q --log-level ERROR Replace Config.Verbose and Config.Quiet with Config.LogLevel Fixes #739 Fixes #1108 Fixes #1000
16 lines
487 B
Go
16 lines
487 B
Go
// Code generated by "stringer -type=LogLevel"; DO NOT EDIT
|
|
|
|
package fs
|
|
|
|
import "fmt"
|
|
|
|
const _LogLevel_name = "LogLevelEmergencyLogLevelAlertLogLevelCriticalLogLevelErrorLogLevelWarningLogLevelNoticeLogLevelInfoLogLevelDebug"
|
|
|
|
var _LogLevel_index = [...]uint8{0, 17, 30, 46, 59, 74, 88, 100, 113}
|
|
|
|
func (i LogLevel) String() string {
|
|
if i >= LogLevel(len(_LogLevel_index)-1) {
|
|
return fmt.Sprintf("LogLevel(%d)", i)
|
|
}
|
|
return _LogLevel_name[_LogLevel_index[i]:_LogLevel_index[i+1]]
|
|
}
|