Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sirupsen/logrus
/ Lock
Method
Lock
logger.go:59–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
}
58
59
func
(mw *MutexWrap) Lock() {
60
if
!mw.disabled {
61
mw.lock.Lock()
62
}
63
}
64
65
func
(mw *MutexWrap) Unlock() {
66
if
!mw.disabled {
Callers
13
TestLoggingRaceWithHooksOnEntry
Function · 0.80
AddHook
Method · 0.80
SetFormatter
Method · 0.80
SetOutput
Method · 0.80
SetReportCaller
Method · 0.80
ReplaceHooks
Method · 0.80
SetBufferPool
Method · 0.80
log
Method · 0.80
fireHooks
Method · 0.80
write
Method · 0.80
Write
Method · 0.80
Fire
Method · 0.80
Calls
no outgoing calls
Tested by
2
TestLoggingRaceWithHooksOnEntry
Function · 0.64
Write
Method · 0.64