MCPcopy
hub / github.com/apache/devlake / Error

Method Error

backend/core/log/logger.go:45–45  ·  view source on GitHub ↗

Error logs an error. The err field can be left `nil`, otherwise the logger will format it into the message.

(err error, format string, a ...interface{})

Source from the content-addressed store, hash-verified

43 Warn(err error, format string, a ...interface{})
44 // Error logs an error. The err field can be left `nil`, otherwise the logger will format it into the message.
45 Error(err error, format string, a ...interface{})
46 // Nested return a new logger instance. `name` is the extra prefix to be prepended to each message. Leaving it blank
47 // will add no additional prefix. The new Logger will inherit the properties of the original.
48 Nested(name string) Logger

Callers 15

Test_GetDomainTablesInfoFunction · 0.65
TestMissingPropertyFunction · 0.65
TestInvalidPropertyTypeFunction · 0.65
TestGetItemOutOfRangeFunction · 0.65
TestCheckDNSFunction · 0.65
TestResolvePortFunction · 0.65
runPipelineTasksFunction · 0.65
RunTaskFunction · 0.65
RunPluginSubTasksFunction · 0.65

Implementers 2

captureLoggerbackend/plugins/gh-copilot/tasks/api_c
DefaultLoggerbackend/impls/logruslog/logger.go

Calls

no outgoing calls

Tested by 15

Test_GetDomainTablesInfoFunction · 0.52
TestMissingPropertyFunction · 0.52
TestInvalidPropertyTypeFunction · 0.52
TestGetItemOutOfRangeFunction · 0.52
TestCheckDNSFunction · 0.52
TestResolvePortFunction · 0.52
TestCrdbErrorImplFunction · 0.52
TestGetTimeFeildFromMapFunction · 0.52