(outPath: string)
| 169 | } |
| 170 | |
| 171 | function ensureLogPath(outPath: string): void { |
| 172 | const dir = path.dirname(outPath); |
| 173 | if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true }); |
| 174 | rotateAppLogIfNeeded(outPath, getAppLogConfig()); |
| 175 | } |
| 176 | |
| 177 | export function getAppLogPathMetadata(outPath: string): { |
| 178 | exists: boolean; |
no test coverage detected