MCPcopy
hub / github.com/serverless/serverless / logoDevMode

Method logoDevMode

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

* Renders the dev mode logo to the console.

()

Source from the content-addressed store, hash-verified

970 * Renders the dev mode logo to the console.
971 */
972 logoDevMode() {
973 // Stop the spinner to not collide with prompt
974 renderer.spinner.stop()
975
976 const content = renderer.style.bold(
977 `${renderer.style.title('Dev ')}${renderer.colors.red(
978 'ϟ',
979 )}${renderer.style.title(' Mode')}`,
980 )
981 writeStdErr({
982 level: 'notice',
983 messageTokens: [content],
984 })
985
986 // Restart the spinner if it was stopped
987 renderer.spinner.start()
988 }
989
990 /**
991 * Renders the Serverless Compose logo to the console.

Callers 1

devMethod · 0.80

Calls 4

writeStdErrFunction · 0.85
titleMethod · 0.80
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected