Fix data race
This commit is contained in:
parent
face6df4b6
commit
32229d5de5
1 changed files with 0 additions and 4 deletions
|
@ -62,10 +62,6 @@ func msglog(msgL, caller int, format string, a ...interface{}) {
|
|||
// message log level
|
||||
func (s *Session) log(msgL int, format string, a ...interface{}) {
|
||||
|
||||
if s.Debug { // Deprecated
|
||||
s.LogLevel = LogDebug
|
||||
}
|
||||
|
||||
if msgL > s.LogLevel {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue