MCPcopy Index your code
hub / github.com/callstack/agent-device / appendDiagnosticLine

Function appendDiagnosticLine

src/utils/diagnostics.ts:213–216  ·  view source on GitHub ↗
(logPath: string, line: string)

Source from the content-addressed store, hash-verified

211}
212
213function appendDiagnosticLine(logPath: string, line: string): void {
214 fs.mkdirSync(path.dirname(logPath), { recursive: true });
215 fs.appendFileSync(logPath, line, 'utf8');
216}

Callers 2

emitDiagnosticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected