MCPcopy
hub / github.com/vitejs/vite / log

Method log

playground/hmr-ssr/__tests__/hmr-ssr.spec.ts:1171–1175  ·  view source on GitHub ↗
(...msg: unknown[])

Source from the content-addressed store, hash-verified

1169
1170class HMRMockLogger {
1171 log(...msg: unknown[]) {
1172 const log = msg.join(' ')
1173 clientLogs.push(log)
1174 logsEmitter.emit('log', log)
1175 }
1176
1177 debug(...msg: unknown[]) {
1178 const log = ['[vite]', ...msg].join(' ')

Callers 15

setupModuleRunnerFunction · 0.95
generateBundleFunction · 0.80
configResolvedFunction · 0.80
initFunction · 0.80
handlerFunction · 0.80
handleMessageFunction · 0.80
hmrLogger.tsFile · 0.80
clearScreenFunction · 0.80
c.tsFile · 0.80
d.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected