ccLogConsole function

void ccLogConsole(
  1. Object? message
)

ccLog, and in debug builds the console too (debugPrint): for the few lines the call device checks read in flutter run, logcat or the Xcode console, which dart:developer logging does not reach (round 4 review). Compiled out of release and profile builds, like ccLog.

Implementation

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