MCPcopy Create free account
hub / github.com/DoNewsCode/core / Printf

Method Printf

otredis/log.go:16–18  ·  view source on GitHub ↗

Printf implements internal.Logging

(ctx context.Context, s string, i ...interface{})

Source from the content-addressed store, hash-verified

14
15// Printf implements internal.Logging
16func (r RedisLogAdapter) Printf(ctx context.Context, s string, i ...interface{}) {
17 _ = r.Logging.Log("msg", fmt.Sprintf(s, i...))
18}

Callers 1

Calls 2

LogMethod · 0.80
SprintfMethod · 0.65

Tested by 1