( index: number, )
| 216 | * @returns Log data or null if not found |
| 217 | */ |
| 218 | export async function getErrorLogByIndex( |
| 219 | index: number, |
| 220 | ): Promise<LogOption | null> { |
| 221 | const logs = await loadErrorLogs() |
| 222 | return logs[index] || null |
| 223 | } |
| 224 | |
| 225 | /** |
| 226 | * Internal function to load and process logs from a specified path |
nothing calls this directly
no test coverage detected