Method

onLog

onLog(handler) returns functions.CloudFunction

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

Parameter

handler

function(non-null functions.analytics.AnalyticsEvent, optional non-null functions.EventContext)

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

Value must not be null.

Returns

non-null functions.CloudFunction A Cloud Function you can export and deploy.