MCPcopy Create free account
hub / github.com/dailydotdev/apps / logEvent

Function logEvent

packages/shared/src/hooks/log/useLogContextData.ts:54–56  ·  view source on GitHub ↗
(event: LogEvent)

Source from the content-addressed store, hash-verified

52 return useMemo<LogContextData>(
53 () => ({
54 logEvent(event: LogEvent) {
55 pushToQueue([generateEvent(event, sharedPropsRef, getPage())]);
56 },
57 logEventStart(id, event) {
58 if (!durationEventsQueue.current.has(id)) {
59 durationEventsQueue.current.set(

Callers 15

onClickFunction · 0.85
componentDidCatchMethod · 0.85
PromotionalBannerFunction · 0.85
onShareFunction · 0.85
logShareEventFunction · 0.85
onShareToSquadFunction · 0.85
MainLayoutComponentFunction · 0.85
FeedFunction · 0.85
onCommentClickFunction · 0.85
FeedItemComponentFunction · 0.85
onAdActionFunction · 0.85
onClickFunction · 0.85

Calls 2

generateEventFunction · 0.85
getPageFunction · 0.85

Tested by 1

callbackFunction · 0.68