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

Method log

zapio/writer.go:145–149  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

143}
144
145func (w *Writer) log(b []byte) {
146 if ce := w.Log.Check(w.Level, string(b)); ce != nil {
147 ce.Write()
148 }
149}

Callers 2

writeLineMethod · 0.95
flushMethod · 0.95

Calls 2

CheckMethod · 0.65
WriteMethod · 0.65

Tested by

no test coverage detected