MCPcopy
hub / github.com/uber-go/zap / Errorf

Method Errorf

zaptest/testingt.go:30–30  ·  view source on GitHub ↗

Logs the given message and marks the test as failed.

(string, ...interface{})

Source from the content-addressed store, hash-verified

28
29 // Logs the given message and marks the test as failed.
30 Errorf(string, ...interface{})
31
32 // Marks the test as failed.
33 Fail()

Callers 15

levelToFuncFunction · 0.65
RegisterSinkMethod · 0.65
newSinkMethod · 0.65
newFileSinkFromURLMethod · 0.65
normalizeSchemeFunction · 0.65
decodePutJSONFunction · 0.65
RegisterEncoderFunction · 0.65
newEncoderFunction · 0.65
openFunction · 0.65
UnmarshalTextMethod · 0.65

Calls

no outgoing calls

Tested by 5

TestErrorEncodingFunction · 0.52
TestRichErrorSupportFunction · 0.52
TestLoggerErrorExpectedFunction · 0.52