mirror of https://github.com/sirupsen/logrus.git
add lock function
This commit is contained in:
parent
ca79890a05
commit
b9589019f7
|
@ -132,8 +132,7 @@ func TestLogger_concurrentLock(t *testing.T) {
|
|||
}()
|
||||
}
|
||||
}()
|
||||
c := make(chan int)
|
||||
<-c
|
||||
time.Sleep(1 * time.Minute)
|
||||
}
|
||||
|
||||
var traceLock = &sync.Mutex{}
|
||||
|
|
Loading…
Reference in New Issue