runtimeLog function

void runtimeLog(
  1. String message, {
  2. bool verbose = false,
})

Logs message through runtimeLogSink, in debug builds only: the constant check lets a release build drop the call and its message.

Implementation

void runtimeLog(String message, {bool verbose = false}) {
  if (!isDebugBuild) return;
  runtimeLogSink(message, verbose: verbose);
}