log function

void log(
  1. Object? value
)

Prints only if in debug or profile mode

Implementation

void log(Object? value) {
  if (!kReleaseMode || forceEnableDebug) print(value);
}