log method

void log(
  1. String msg
)

Convenience method to output console messages as debugging output. Logging usually happens when some internal error needs to be surfaced to the user.

Implementation

void log(String msg) {
  debugPrint(msg);
}