isValidLogCustomEventInput

fun isValidLogCustomEventInput(eventName: String?, serverConfigStorageProvider: ServerConfigStorageProvider): Boolean

Validates the event name for the custom event. Invalid event names are null or in the blocklist.

Return

true if the event name is valid. Checks against blocklisted events.

Parameters

eventName

The event name.

serverConfigStorageProvider

The server configuration. Used to check against blocklisted events.