(filePath: string, streamName: 'stdout' | 'stderr', line: string)
| 1290 | } |
| 1291 | |
| 1292 | function writeLogLine(filePath: string, streamName: 'stdout' | 'stderr', line: string): void { |
| 1293 | writeLogChunk(filePath, streamName, `${new Date().toISOString()} ${line}\n`); |
| 1294 | } |
| 1295 | |
| 1296 | function normalizeString(value: unknown): string { |
| 1297 | return typeof value === 'string' ? value.trim() : ''; |
no test coverage detected