MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / debugLogFunc

Function debugLogFunc

pkg/redis/redis.go:184–186  ·  view source on GitHub ↗
(ctx context.Context, format string, v ...any)

Source from the content-addressed store, hash-verified

182}
183
184func debugLogFunc(ctx context.Context, format string, v ...any) {
185 log.FromContext(ctx).WithField("origin", "go-redis").Debugf(format, v...)
186}
187
188// newRedisClient returns a Redis client, which connects using correct client type.
189func newRedisClient(conf *Config) *redis.Client {

Callers

nothing calls this directly

Calls 3

FromContextFunction · 0.92
DebugfMethod · 0.65
WithFieldMethod · 0.65

Tested by

no test coverage detected