MCPcopy Create free account
hub / github.com/GCWing/BitFun / flushSummary

Method flushSummary

src/web-ui/src/shared/utils/startupTrace.ts:531–547  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

529 }
530
531 flushSummary(reason: string): void {
532 if (!this.enabled) {
533 return;
534 }
535
536 if (this.logSummary) {
537 const snapshot = this.getSnapshot();
538 this.logger.info('Startup trace summary', {
539 traceId: snapshot.traceId,
540 reason,
541 phases: snapshot.phases,
542 api: {
543 ...snapshot.api,
544 },
545 });
546 }
547 }
548}
549
550export function createStartupTrace(options: StartupTraceOptions = {}): StartupTrace {

Callers 3

startApplicationFunction · 0.80
startupTrace.tsFile · 0.80

Calls 2

getSnapshotMethod · 0.95
infoMethod · 0.45

Tested by

no test coverage detected