Browse Source

Fix data race

Bruce Marriner 8 years ago
parent
commit
32229d5de5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      logging.go

+ 0 - 4
logging.go

@@ -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
 	}