MCPcopy Create free account
hub / github.com/devfile/api / LogErrorMessage

Function LogErrorMessage

test/v200/utils/common/test_utils.go:186–190  ·  view source on GitHub ↗

LogErrorMessage logs the specified message as an error message and returns the message logged

(message string)

Source from the content-addressed store, hash-verified

184
185// LogErrorMessage logs the specified message as an error message and returns the message logged
186func LogErrorMessage(message string) string {
187 var errMessage []string
188 errMessage = append(errMessage, errorPrefix, message)
189 return LogMessage(fmt.Sprint(errMessage))
190}
191
192// LogWarningMessage logs the specified message as a warning message and returns the message logged
193func LogWarningMessage(message string) string {

Callers 4

CreateTempDirFunction · 0.85
GetRandomValueFunction · 0.85
RunTestMethod · 0.85
setMetaDataValuesMethod · 0.85

Calls 1

LogMessageFunction · 0.85

Tested by

no test coverage detected