UNPKG

promoted-snowplow-logger

Version:

Logging utility for browser-side Typescript that logs Promoted events to our Metrics Snowplow-compatible API

16 lines (15 loc) 456 B
import type { EventLogger } from './types/logger'; /** * A utility class for logging events. * * Warning: This class modifies the inputs. We avoid creating duplicate objects * to reduce memory pressure. */ export declare class NoopEventLogger implements EventLogger { logCohortMembership: () => void; logView: () => void; logImpression: () => void; logAction: () => void; logClick: () => void; flushEarlyEvents: () => void; }