From 32229d5de56db5041f84410c37e08015b6608e91 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Fri, 17 Jun 2016 12:43:22 -0500 Subject: [PATCH] Fix data race --- logging.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/logging.go b/logging.go index 880d246..70d78d6 100644 --- a/logging.go +++ b/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 }