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

Method AddInt

zapcore/encoder.go:378–378  ·  zapcore/encoder.go::ObjectEncoder.AddInt
(key string, value int)

Source from the content-addressed store, hash-verified

376 AddFloat64(key string, value float64)
377 AddFloat32(key string, value float32)
378 AddInt(key string, value int)
379 AddInt64(key string, value int64)
380 AddInt32(key string, value int32)
381 AddInt16(key string, value int16)

Callers 4

MarshalLogObjectMethod · 0.65
MarshalLogObjectMethod · 0.65
TestMapObjectEncoderAddFunction · 0.65

Implementers 2

jsonEncoderzapcore/json_encoder.go
MapObjectEncoderzapcore/memory_encoder.go

Calls

no outgoing calls

Tested by 4

MarshalLogObjectMethod · 0.52
MarshalLogObjectMethod · 0.52
TestMapObjectEncoderAddFunction · 0.52