MCPcopy
hub / github.com/rs/zerolog / Ints16

Method Ints16

context.go:280–283  ·  view source on GitHub ↗

Ints16 adds the field key with i as a []int16 to the logger context.

(key string, i []int16)

Source from the content-addressed store, hash-verified

278
279// Ints16 adds the field key with i as a []int16 to the logger context.
280func (c Context) Ints16(key string, i []int16) Context {
281 c.l.context = enc.AppendInts16(enc.AppendKey(c.l.context, key), i)
282 return c
283}
284
285// Int32 adds the field key with i as a int32 to the logger context.
286func (c Context) Int32(key string, i int32) Context {

Callers

nothing calls this directly

Calls 2

AppendInts16Method · 0.65
AppendKeyMethod · 0.65

Tested by

no test coverage detected