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

Method Errorf

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

Errorf logs an error message.

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

Source from the content-addressed store, hash-verified

58
59// Errorf logs an error message.
60func (l *Logger) Errorf(category string, msg string, args ...any) {
61 l.Logf(logrus.ErrorLevel, category, msg, args...)
62}
63
64// Infof logs an info message.
65func (l *Logger) Infof(category string, msg string, args ...any) {

Callers 15

runNoTaintMethod · 0.80
runAllMethod · 0.80
RunMethod · 0.80
ValidateMethod · 0.80
AddSubmetricMethod · 0.80
ParseMetricNameFunction · 0.80
parsePercentileFunction · 0.80
SystemTagStringFunction · 0.80
NewMetricMethod · 0.80
parseThresholdExpressionFunction · 0.80
scanThresholdExpressionFunction · 0.80

Calls 1

LogfMethod · 0.95

Tested by 15

TestTracerFunction · 0.64
TestCancelledRequestFunction · 0.64
TestDefaultErrorFunction · 0.64
testErrorCodeFunction · 0.64
TestChangePathFsFunction · 0.64