MCPcopy Index your code
hub / github.com/resend/react-email / log

Method log

packages/react-email/src/cli/utils/spinner.ts:130–138  ·  view source on GitHub ↗
(symbol?: string)

Source from the content-addressed store, hash-verified

128 }
129
130 private log(symbol?: string): void {
131 const symbolPrefix =
132 typeof symbol === 'string' && symbol.length > 0 ? `${symbol} ` : '';
133 const trimmedText = this.text.replace(/\n+$/, '');
134 const line = `${this.prefixText}${symbolPrefix}${trimmedText}`;
135 if (line === this.lastLoggedLine) return;
136 this.lastLoggedLine = line;
137 this.stream.write(`${line}\n`);
138 }
139}
140
141export const createSpinner = (

Callers 12

startMethod · 0.95
setTextMethod · 0.95
setDisplayMethod · 0.95
finishMethod · 0.95
startDevServerFunction · 0.45
makeExitHandlerFunction · 0.45
startFunction · 0.45
exportTemplatesFunction · 0.45
devFunction · 0.45
buildFunction · 0.45

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected