logError function

void logError(
  1. String targetDescription,
  2. String filePath,
  3. String reason
)

Implementation

void logError(String targetDescription, String filePath, String reason) {
  stderr.writeln(
    "[ERROR] $targetDescription in $filePath ($reason)",
  );
}