ccLog function

void ccLog(
  1. Object? message
)

Release-safe logging for the UI Kit's own diagnostics.

Every call is compiled out of release and profile builds, so nothing the UI Kit logs can reach a production device log. This matters beyond noise: log lines here have carried tokens and message contents in the past.

Output goes to a named dart:developer channel so a host app can filter the UI Kit's chatter out of its own logs.

Internal — deliberately not exported from any public barrel.

Implementation

void ccLog(Object? message) {
  if (!kDebugMode) return;
  developer.log('$message', name: 'cometchat_uikit');
}