MCPcopy
hub / github.com/istio/istio / Errorf

Function Errorf

pkg/log/default.go:47–49  ·  view source on GitHub ↗

Errorf uses fmt.Sprintf to construct and log a message at error level.

(format string, args ...any)

Source from the content-addressed store, hash-verified

45
46// Errorf uses fmt.Sprintf to construct and log a message at error level.
47func Errorf(format string, args ...any) {
48 defaultScope.Errorf(format, args...)
49}
50
51// ErrorEnabled returns whether output of messages using this scope is currently enabled for error-level output.
52func ErrorEnabled() bool {

Callers 15

runBugReportCommandFunction · 0.92
writeFileFunction · 0.92
MatchesGlobFunction · 0.92
RunMethod · 0.92
restoreOriginalAddressFunction · 0.92
RunMethod · 0.92
RunMethod · 0.92
GetOriginalDestinationFunction · 0.92
reuseAddrFunction · 0.92
executeXTablesMethod · 0.92
DetectIptablesVersionMethod · 0.92
StringMethod · 0.92

Calls 1

ErrorfMethod · 0.65

Tested by 4

ServeHTTPMethod · 0.74
TestDefaultFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…