Skip to content

Commit

Permalink
doc: correct level value comment (#2653)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjfsdnu authored May 22, 2023
1 parent 05ee4d4 commit f0d22fe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions os/glog/glog_logger_level.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const (
LEVEL_DEV = LEVEL_ALL
LEVEL_PROD = LEVEL_WARN | LEVEL_ERRO | LEVEL_CRIT
LEVEL_NONE = 0
LEVEL_DEBU = 1 << iota // 8
LEVEL_INFO // 16
LEVEL_NOTI // 32
LEVEL_WARN // 64
LEVEL_ERRO // 128
LEVEL_CRIT // 256
LEVEL_PANI // 512
LEVEL_FATA // 1024
LEVEL_DEBU = 1 << iota // 16
LEVEL_INFO // 32
LEVEL_NOTI // 64
LEVEL_WARN // 128
LEVEL_ERRO // 256
LEVEL_CRIT // 512
LEVEL_PANI // 1024
LEVEL_FATA // 2048
)

// defaultLevelPrefixes defines the default level and its mapping prefix string.
Expand Down

0 comments on commit f0d22fe

Please sign in to comment.