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

Function Warnf

pkg/log/global.go:55–57  ·  view source on GitHub ↗

Warnf calls FromContext(ctx).Warnf

(ctx context.Context, msg string, v ...any)

Source from the content-addressed store, hash-verified

53
54// Warnf calls FromContext(ctx).Warnf
55func Warnf(ctx context.Context, msg string, v ...any) {
56 FromContext(ctx).Warnf(msg, v...)
57}
58
59// Errorf calls FromContext(ctx).Errorf
60func Errorf(ctx context.Context, msg string, v ...any) {

Callers 1

TestLogInterfaceFunction · 0.85

Calls 2

FromContextFunction · 0.70
WarnfMethod · 0.65

Tested by 1

TestLogInterfaceFunction · 0.68