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

Method StringersV

context.go:156–158  ·  view source on GitHub ↗

StringersV adds the field key with vals to the logger context where each individual val is added by calling val.String(). This is a variadic version that accepts a list of individual fmt.Stringer values.

(key string, vals ...fmt.Stringer)

Source from the content-addressed store, hash-verified

154// This is a variadic version that accepts a list of individual
155// fmt.Stringer values.
156func (c Context) StringersV(key string, vals ...fmt.Stringer) Context {
157 return c.Stringers(key, vals)
158}
159
160// Bytes adds the field key with val as a []byte to the logger context.
161func (c Context) Bytes(key string, val []byte) Context {

Callers

nothing calls this directly

Calls 1

StringersMethod · 0.95

Tested by

no test coverage detected