()
| 56 | } |
| 57 | |
| 58 | function buildElectronLogger(): ImportLogger { |
| 59 | return { |
| 60 | info: logInfo, |
| 61 | error: (message: string, err?: Error) => logError(message, err), |
| 62 | perf: (label: string, messageCount: number, batchSize?: number) => logPerf(label, messageCount, batchSize), |
| 63 | perfDetail: logPerfDetail, |
| 64 | summary: logSummary, |
| 65 | reset: resetPerfLog, |
| 66 | init: initPerfLog, |
| 67 | getCurrentLogFile, |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | function buildStreamImportDeps(requestId: string): StreamImportDeps { |
| 72 | return { |
no test coverage detected