Method

onLog

onLog(handler) returns functions.CloudFunction containing non-null functions.analytics.AnalyticsEvent

Event handler that fires every time a Firebase Analytics event occurs.

Parameter

handler

function(non-null functions.Event containing non-null functions.analytics.AnalyticsEvent)

Event handler that fires every time a Firebase Analytics event occurs.

Value must not be null.

Returns

non-null functions.CloudFunction containing non-null functions.analytics.AnalyticsEvent A Cloud Function you can export.