MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / getName

Method getName

base/util_logging_mutex.go:64–69  ·  view source on GitHub ↗

getName returns the name of the mutex for logging.

()

Source from the content-addressed store, hash-verified

62
63// getName returns the name of the mutex for logging.
64func (m *LoggingMutex) getName() string {
65 if m.name != "" {
66 return m.name
67 }
68 return "LoggingMutex"
69}
70
71// LoggingRWMutex is a normal sync.RWMutex that logs before and after each operation. Recommended for dev-time debugging only.
72type LoggingRWMutex struct {

Callers 3

LockMethod · 0.95
UnlockMethod · 0.95
TryLockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected