Index: utils/pub/hosted_source.dart |
diff --git a/utils/pub/hosted_source.dart b/utils/pub/hosted_source.dart |
index 8315acd0b56a09d64659b2ecf6588464897a3c78..ba5119d362b294ef9a374031b6d8e096fa291266 100644 |
--- a/utils/pub/hosted_source.dart |
+++ b/utils/pub/hosted_source.dart |
@@ -11,6 +11,7 @@ import 'dart:uri'; |
// TODO(nweiz): Make this import better. |
import '../../pkg/http/lib/http.dart' as http; |
import 'io.dart'; |
+import 'log.dart' as log; |
import 'package.dart'; |
import 'pubspec.dart'; |
import 'source.dart'; |
@@ -73,7 +74,7 @@ class HostedSource extends Source { |
var fullUrl = "$url/packages/$name/versions/${id.version}.tar.gz"; |
- print('Downloading $id...'); |
+ log.message('Downloading $id...'); |
// Download and extract the archive to a temp directory. |
var tempDir; |