Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982b120 commit 5e6d3c4Copy full SHA for 5e6d3c4
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