MCPcopy
hub / github.com/Tencent/WeKnora / Errorf

Function Errorf

internal/logger/logger.go:466–468  ·  view source on GitHub ↗

Errorf 使用格式化字符串输出错误级别的日志

(c context.Context, format string, args ...interface{})

Source from the content-addressed store, hash-verified

464
465// Errorf 使用格式化字符串输出错误级别的日志
466func Errorf(c context.Context, format string, args ...interface{}) {
467 addCaller(GetLogger(c), 2).Errorf(format, args...)
468}
469
470// ErrorWithFields 输出带有额外字段的错误级别日志
471func ErrorWithFields(c context.Context, err error, fields logrus.Fields) {

Callers 15

callLayoutParsingMethod · 0.92
processImagesMethod · 0.92
pollJobMethod · 0.92
fetchResultsMethod · 0.92
downloadImagesMethod · 0.92
callFileParseMethod · 0.92
processImagesMethod · 0.92
ReadMethod · 0.92
pollTaskResultMethod · 0.92
newSignedRequestMethod · 0.92
pollBatchResultMethod · 0.92
downloadAndExtractZipFunction · 0.92

Calls 2

addCallerFunction · 0.85
GetLoggerFunction · 0.85

Tested by

no test coverage detected