fixed append bug
This commit is contained in:
parent
fe5afcb345
commit
1889942db8
3 changed files with 9 additions and 2 deletions
|
|
@ -35,6 +35,10 @@ func SetLogLvl(lvl int64) {
|
|||
}
|
||||
}
|
||||
|
||||
func GetLogLvl() int64 {
|
||||
return logLevel
|
||||
}
|
||||
|
||||
func Log(lvl int, msg, context string) {
|
||||
if int64(lvl) > logLevel {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue