// String Convert the current Level type to a string. E.g. PanicLevel becomes "Critical Error".
String Convert the current Level type to a string. E.g. PanicLevel becomes "Critical Error".
// String Convert the current Level type to a string . E . g . PanicLevel becomes " Critical Error " .
func (l Level) String() string {
	switch l {
	case DebugLevel:
		return "Debug"
	case InfoLevel:
		return "Info"
	case WarnLevel:
		return "Warning"
	case ErrorLevel:
		return "Error"
	case FatalLevel:
		return "Fatal Error"
	case PanicLevel:
		return "Critical Error"
	case NilLevel:
		return ""
	}
	return "unknown"
}
func ( l Level ) String ( ) string { switch l { case DebugLevel : return " " case InfoLevel : return " " case WarnLevel : return " " case ErrorLevel : return " " case FatalLevel : return " " case PanicLevel : return " " case NilLevel : return " " } return " " }
String Convert the current Level type to a string.
String Convert the current Level type to a string .
//nolint exhaustive