pluginDebug function

dynamic pluginDebug(
  1. dynamic message, {
  2. StackTrace? s,
  3. Object? e,
  4. String name = "Biometric_access Plugin log",
  5. bool usePrint = false,
})

Implementation

pluginDebug(message,
    {StackTrace? s,
    Object? e,
    String name = "Biometric_access Plugin log",
    bool usePrint = false}) {
  if (usePrint) {
    debugPrint("[$name] => $message ${e != null ? "[Error] =>$e" : ""}");
  } else {
    log("$message", stackTrace: s, error: e, name: name);
  }
}