MCPcopy Create free account
hub / github.com/cppla/moto / ZapString

Function ZapString

utils/log.go:81–81  ·  view source on GitHub ↗

optional helpers for structured fields (used in some modules)

(k, v string)

Source from the content-addressed store, hash-verified

79
80// optional helpers for structured fields (used in some modules)
81func ZapString(k, v string) zap.Field { return zap.String(k, v) }
82func ZapErr(err error) zap.Field { return zap.Error(err) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected