MCPcopy
hub / github.com/7836246/cursor2api / addEntry

Function addEntry

src/logger.ts:881–885  ·  view source on GitHub ↗
(entry: LogEntry)

Source from the content-addressed store, hash-verified

879}
880
881function addEntry(entry: LogEntry): void {
882 logEntries.push(entry);
883 while (logEntries.length > MAX_ENTRIES) logEntries.shift();
884 logEmitter.emit('log', entry);
885}
886
887// ==================== RequestLogger ====================
888

Callers 1

logMethod · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected