We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae47d9c + 5e6d3c4 commit 8f021e1Copy full SHA for 8f021e1
slog.go
@@ -287,11 +287,23 @@ type Level int
287
//
288
// The default level is Info.
289
const (
290
+ // LevelDebug is used for development and debugging messages.
291
LevelDebug Level = iota
292
+
293
+ // LevelInfo is used for normal informational messages.
294
LevelInfo
295
296
+ // LevelWarn is used when something has possibly gone wrong.
297
LevelWarn
298
299
+ // LevelError is used when something has certainly gone wrong.
300
LevelError
301
302
+ // LevelCritical is used when when something has gone wrong and should
303
+ // be immediately investigated.
304
LevelCritical
305
306
+ // LevelFatal is used when the process is about to exit due to an error.
307
LevelFatal
308
)
309
0 commit comments