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

Method AddString

zapcore/encoder.go:383–383  ·  zapcore/encoder.go::ObjectEncoder.AddString
(key, value string)

Source from the content-addressed store, hash-verified

381 AddInt16(key string, value int16)
382 AddInt8(key string, value int8)
383 AddString(key, value string)
384 AddTime(key string, value time.Time)
385 AddUint(key string, value uint)
386 AddUint64(key string, value uint64)

Callers 15

MarshalLogObjectMethod · 0.65
MarshalLogObjectMethod · 0.65
MarshalLogObjectMethod · 0.65
MarshalLogObjectMethod · 0.65
MarshalLogObjectMethod · 0.65
EncodeEntryMethod · 0.65
TestJSONCloneFunction · 0.65
assertOutputFunction · 0.65
MarshalLogObjectMethod · 0.65
MarshalLogObjectMethod · 0.65

Implementers 2

jsonEncoderzapcore/json_encoder.go
MapObjectEncoderzapcore/memory_encoder.go

Calls

no outgoing calls

Tested by 15

MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52
TestJSONCloneFunction · 0.52
assertOutputFunction · 0.52
MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52