log static method

void log(
  1. String? message, {
  2. LogLevel logLevel = LogLevel.DEBUG,
})

Implementation

static void log(String? message, {LogLevel logLevel = LogLevel.DEBUG}) {
  String logLevelStr = describeEnum(logLevel);
  if (_isDebug) {
    print('[$tag] $logLevelStr: $message');
  }
}