MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getErrorLogByIndex

Function getErrorLogByIndex

source code/utils/log.ts:220–225  ·  view source on GitHub ↗
(
  index: number,
)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

loadErrorLogsFunction · 0.85

Tested by

no test coverage detected