Browse Source

Remove unused mutex field (#1440)

for-closed-social
Mura Li 7 years ago
committed by Lunny Xiao
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 View File

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

Loading…
Cancel
Save