Callback type for analytics logging.
typedef AnalyticsLogger = void Function(String eventName, Map<String, dynamic> metadata);