MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / Errorf

Function Errorf

log/log.go:68–71  ·  view source on GitHub ↗

Errorf prints warning message according to a format

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

66
67// Errorf prints warning message according to a format
68func Errorf(format string, args ...interface{}) {
69 s := fmt.Sprintf(format, args...)
70 errorLogger.Output(outputCallDepth, mask(s)) // nolint
71}
72
73// ErrorWithCallDepth prints err into error log using the given callDepth.
74func ErrorWithCallDepth(err error, callDepth int) {

Callers 15

proxyRequestMethod · 0.92
serveFromCacheMethod · 0.92
newCacheKeyFunction · 0.92
completeTransactionMethod · 0.92
calcQueryParamsHashFunction · 0.92
RespondWithDataFunction · 0.92
notifyReadyFunction · 0.92
setupReloadConfigWatchFunction · 0.92
GetFileMethod · 0.92
StatusMethod · 0.92
NewAsyncCacheFunction · 0.92
decodeHeaderFunction · 0.92

Calls 1

maskFunction · 0.85

Tested by

no test coverage detected