MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / addStreamEventItems

Function addStreamEventItems

src/scripts/logging/logHelpers.ts:68–70  ·  view source on GitHub ↗
(logEvent: { [key: string]: string | number | boolean }, streamEvent: Log.Event.StreamEvent)

Source from the content-addressed store, hash-verified

66 }
67
68 function addStreamEventItems(logEvent: { [key: string]: string | number | boolean }, streamEvent: Log.Event.StreamEvent) {
69 logEvent[Log.PropertyName.Reserved.Stream] = JSON.stringify(streamEvent.getEventData().Stream);
70 }
71
72 export function createSetContextEventAsJson(key: Log.Context.Custom, value: string): { [key: string]: string } {
73 let baseEvent = new Log.Event.BaseEvent(Log.Event.Label.SetContextProperty);

Callers 1

createLogEventAsJsonFunction · 0.85

Calls 1

getEventDataMethod · 0.45

Tested by

no test coverage detected