MCPcopy
hub / github.com/kopia/kopia / WriteTo

Method WriteTo

internal/contentlog/contentlog_logger.go:122–130  ·  view source on GitHub ↗
(jw *JSONWriter)

Source from the content-addressed store, hash-verified

120}
121
122func (e debugMessageWithParams[T1, T2, T3, T4, T5, T6]) WriteTo(jw *JSONWriter) {
123 jw.StringField("m", e.text)
124 e.v1.WriteValueTo(jw)
125 e.v2.WriteValueTo(jw)
126 e.v3.WriteValueTo(jw)
127 e.v4.WriteValueTo(jw)
128 e.v5.WriteValueTo(jw)
129 e.v6.WriteValueTo(jw)
130}
131
132// Logger is a logger that writes log entries to the output.
133type Logger struct {

Callers

nothing calls this directly

Calls 2

StringFieldMethod · 0.80
WriteValueToMethod · 0.65

Tested by

no test coverage detected