Browse Source

Remove unused mutex field (#1440)

Mura Li 3 years ago
parent
commit
b746757209
1 changed files with 0 additions and 2 deletions
  1. 0 2
      modules/log/log.go

+ 0 - 2
modules/log/log.go

@@ -11,7 +11,6 @@ import (
11 11
 	"path/filepath"
12 12
 	"runtime"
13 13
 	"strings"
14
-	"sync"
15 14
 
16 15
 	"golang.org/x/sync/syncmap"
17 16
 )
@@ -177,7 +176,6 @@ type logMsg struct {
177 176
 // it can contain several providers and log message into all providers.
178 177
 type Logger struct {
179 178
 	adapter string
180
-	lock    sync.Mutex
181 179
 	level   int
182 180
 	msg     chan *logMsg
183 181
 	outputs syncmap.Map