MCPcopy
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
59func (mw *MutexWrap) Lock() {
60 if !mw.disabled {
61 mw.lock.Lock()
62 }
63}
64
65func (mw *MutexWrap) Unlock() {
66 if !mw.disabled {

Callers 13

AddHookMethod · 0.80
SetFormatterMethod · 0.80
SetOutputMethod · 0.80
SetReportCallerMethod · 0.80
ReplaceHooksMethod · 0.80
SetBufferPoolMethod · 0.80
logMethod · 0.80
fireHooksMethod · 0.80
writeMethod · 0.80
WriteMethod · 0.80
FireMethod · 0.80

Calls

no outgoing calls

Tested by 2

WriteMethod · 0.64