debug static method

dynamic debug(
  1. dynamic message, {
  2. bool alwaysPrint = false,
})

Logs a debug message to the console. It will only print if your app's environment is in debug mode. You can override this by setting alwaysPrint = true.

Implementation

static debug(dynamic message, {bool alwaysPrint = false}) {
  _loggerPrint(message ?? "", 'debug', alwaysPrint);
}