MCPcopy
hub / github.com/uber-go/zap / lockedWriteSyncer

Struct lockedWriteSyncer

zapcore/write_syncer.go:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49type lockedWriteSyncer struct {
50 sync.Mutex
51 ws WriteSyncer
52}
53
54// Lock wraps a WriteSyncer in a mutex to make it safe for concurrent use. In
55// particular, *os.Files must be locked before use.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected