MCPcopy Create free account
hub / github.com/Noumena-Network/code / logEvent

Function logEvent

src/services/api/promptCacheBreakDetection.test.ts:21–26  ·  view source on GitHub ↗
(eventName, metadata)

Source from the content-addressed store, hash-verified

19function installAnalyticsSink(): void {
20 attachAnalyticsSink({
21 logEvent(eventName, metadata) {
22 events.push({
23 eventName,
24 metadata: { ...metadata } as Record<string, unknown>,
25 })
26 },
27 async logEventAsync(eventName, metadata) {
28 events.push({
29 eventName,

Callers 15

queryModelFunction · 0.70
resetStreamIdleTimerFunction · 0.70
addCacheBreakpointsFunction · 0.70
logAPIQueryFunction · 0.70
logAPIErrorFunction · 0.70
logAPISuccessFunction · 0.70
logAPISuccessAndDurationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected