MCPcopy
hub / github.com/caddyserver/caddy / Write

Method Write

internal/logbuffer.go:58–64  ·  view source on GitHub ↗
(entry zapcore.Entry, fields []zapcore.Field)

Source from the content-addressed store, hash-verified

56}
57
58func (c *LogBufferCore) Write(entry zapcore.Entry, fields []zapcore.Field) error {
59 c.mu.Lock()
60 defer c.mu.Unlock()
61 c.entries = append(c.entries, entry)
62 c.fields = append(c.fields, fields)
63 return nil
64}
65
66func (c *LogBufferCore) Sync() error { return nil }
67

Callers 15

handleConfigFunction · 0.45
testGetMetricValueFunction · 0.45
FlushToMethod · 0.45
cmdExportStorageFunction · 0.45
cmdStartFunction · 0.45
cmdRunFunction · 0.45

Calls

no outgoing calls