MCPcopy
hub / github.com/serverless/serverless / error

Method error

packages/util/src/logger/index.js:634–642  ·  view source on GitHub ↗

* Methods for writing logs to the console at different levels.

(...messageTokens)

Source from the content-addressed store, hash-verified

632 * Methods for writing logs to the console at different levels.
633 */
634 error(...messageTokens) {
635 writeStdErr({
636 level: 'error',
637 type: 'error',
638 messageTokens: [...messageTokens],
639 prefix: this.prefix,
640 prefixColor: this.prefixColor,
641 })
642 }
643
644 warning(...messageTokens) {
645 writeStdErr({

Callers 15

logErrorMethod · 0.95
errorFunction · 0.80
installMethod · 0.80
getBinaryNameFunction · 0.80
printSummaryFunction · 0.80
getValidateFunction · 0.80
installRequirementsFunction · 0.80
#writeAgentErrorMethod · 0.80
constructorMethod · 0.80
packMethod · 0.80
connectMethod · 0.80

Calls 1

writeStdErrFunction · 0.85

Tested by 2

cleanupFunction · 0.64
deleteBucketVersionsFunction · 0.64