Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(714)

Unified Diff: utils/pub/validator.dart

Issue 11472016: Revert "Add logging system to pub and sprinkle some logging in." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/pub/system_cache.dart ('k') | utils/pub/version_solver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/validator.dart
diff --git a/utils/pub/validator.dart b/utils/pub/validator.dart
index bada90d86274a12c2758c37795cb737b9778e395..d5ab53c6c1874a84d7112455b489d11ade340ef0 100644
--- a/utils/pub/validator.dart
+++ b/utils/pub/validator.dart
@@ -5,7 +5,6 @@
library validator;
import 'entrypoint.dart';
-import 'log.dart' as log;
import 'io.dart';
import 'system_cache.dart';
import 'utils.dart';
@@ -51,19 +50,19 @@ abstract class Validator {
var warnings = flatten(validators.map((validator) => validator.warnings));
if (!errors.isEmpty) {
- log.error("== Errors:");
+ printError("== Errors:");
for (var error in errors) {
- log.error("* $error");
+ printError("* $error");
}
- log.error("");
+ printError("");
}
if (!warnings.isEmpty) {
- log.warning("== Warnings:");
+ printError("== Warnings:");
for (var warning in warnings) {
- log.warning("* $warning");
+ printError("* $warning");
}
- log.warning("");
+ printError("");
}
return new Pair<List<String>, List<String>>(errors, warnings);
« no previous file with comments | « utils/pub/system_cache.dart ('k') | utils/pub/version_solver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698