MCPcopy
hub / github.com/rs/zerolog / syncWriter

Struct syncWriter

writer.go:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39type syncWriter struct {
40 mu sync.Mutex
41 lw LevelWriter
42}
43
44// SyncWriter wraps w so that each call to Write is synchronized with a mutex.
45// This syncer can be used to wrap the call to writer's Write method if it is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected