We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 877d094 commit 07b17f9Copy full SHA for 07b17f9
log/logger.go
@@ -83,7 +83,7 @@ func LevelAlignedString(l slog.Level) string {
83
}
84
85
86
-// LevelString returns a 5-character string containing the name of a Lvl.
+// LevelString returns a string containing the name of a Lvl.
87
func LevelString(l slog.Level) string {
88
switch l {
89
case LevelTrace:
@@ -95,7 +95,7 @@ func LevelString(l slog.Level) string {
95
case slog.LevelWarn:
96
return "warn"
97
case slog.LevelError:
98
- return "eror"
+ return "error"
99
case LevelCrit:
100
return "crit"
101
default:
0 commit comments