Skip to content

Commit b746757

Browse files
typelesslunny
authored andcommitted
Remove unused mutex field (#1440)
1 parent 93c25c9 commit b746757

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/log/log.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"path/filepath"
1212
"runtime"
1313
"strings"
14-
"sync"
1514

1615
"golang.org/x/sync/syncmap"
1716
)
@@ -177,7 +176,6 @@ type logMsg struct {
177176
// it can contain several providers and log message into all providers.
178177
type Logger struct {
179178
adapter string
180-
lock sync.Mutex
181179
level int
182180
msg chan *logMsg
183181
outputs syncmap.Map

0 commit comments

Comments
 (0)