fix unreachable code & missing stringer-generated code
This commit is contained in:
@@ -47,7 +47,7 @@ func (l Level) String() string {
|
||||
case Error:
|
||||
return "error"
|
||||
default:
|
||||
return fmt.Sprintf("%s", l)
|
||||
return fmt.Sprintf("%s", string(l))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user