MCPcopy
hub / github.com/grafana/k6 / Warnf

Method Warnf

internal/js/modules/k6/browser/log/logger.go:70–72  ·  view source on GitHub ↗

Warnf logs an warning message.

(category string, msg string, args ...any)

Source from the content-addressed store, hash-verified

68
69// Warnf logs an warning message.
70func (l *Logger) Warnf(category string, msg string, args ...any) {
71 l.Logf(logrus.WarnLevel, category, msg, args...)
72}
73
74// Logf logs a message.
75func (l *Logger) Logf(level logrus.Level, category string, msg string, args ...any) {

Callers 15

NewFunction · 0.95
reportDiscardedLabelsMethod · 0.80
initializeGoModuleMethod · 0.80
NewModuleInstanceMethod · 0.80
GetPlannedVUMethod · 0.80
saveCurrentRequestMethod · 0.80
MakeRequestFunction · 0.80
flushMetricsMethod · 0.80

Calls 1

LogfMethod · 0.95

Tested by

no test coverage detected