e static method

void e(
  1. String text
)

Logs an error-level message.

Only prints when logging is enabled and the app is in debug mode.

Implementation

static void e(String text) {
  if (_enableLogs) {
    _printError(getFormattedText(text));
  }
}