logError method

void logError(
  1. Object? message, [
  2. Object? error,
  3. StackTrace? stackTrace
])

Implementation

void logError(Object? message, [Object? error, StackTrace? stackTrace]) {
  if (message != null) {
    stderr('** [HttpClient] ERROR> $message');
  }
  if (error != null) {
    stderr(error);
  }
  if (stackTrace != null) {
    stderr(stackTrace);
  }
}