Improve comment for Loglevel constants
This commit is contained in:
parent
4ac79cc44f
commit
64f6b7ad0b
|
@ -8,16 +8,12 @@ import (
|
||||||
// Loglevel is used to set the current loglevel of Logger.
|
// Loglevel is used to set the current loglevel of Logger.
|
||||||
type Loglevel int
|
type Loglevel int
|
||||||
|
|
||||||
|
// These are available loglevels for Logger.
|
||||||
const (
|
const (
|
||||||
// NONE is a loglevel for Logger.
|
|
||||||
NONE Loglevel = 0
|
NONE Loglevel = 0
|
||||||
// ERROR is a loglevel for Logger.
|
|
||||||
ERROR Loglevel = 1
|
ERROR Loglevel = 1
|
||||||
// WARN is a loglevel for Logger.
|
|
||||||
WARN Loglevel = 2
|
WARN Loglevel = 2
|
||||||
// INFO is a loglevel for Logger.
|
|
||||||
INFO Loglevel = 3
|
INFO Loglevel = 3
|
||||||
// DEBUG is a loglevel for Logger.
|
|
||||||
DEBUG Loglevel = 4
|
DEBUG Loglevel = 4
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue