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

Method Uint64

context.go:358–361  ·  view source on GitHub ↗

Uint64 adds the field key with i as a uint64 to the logger context.

(key string, i uint64)

Source from the content-addressed store, hash-verified

356
357// Uint64 adds the field key with i as a uint64 to the logger context.
358func (c Context) Uint64(key string, i uint64) Context {
359 c.l.context = enc.AppendUint64(enc.AppendKey(c.l.context, key), i)
360 return c
361}
362
363// Uints64 adds the field key with i as a []uint64 to the logger context.
364func (c Context) Uints64(key string, i []uint64) Context {

Callers

nothing calls this directly

Calls 2

AppendUint64Method · 0.65
AppendKeyMethod · 0.65

Tested by

no test coverage detected