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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback.dart

Issue 106023006: Tweak pub build/serve log output a bit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/barback.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback.dart b/sdk/lib/_internal/pub/lib/src/barback.dart
index 9fd0e5b17e93ae4e63c991661d9bed8310c994ce..a5a48a64dd5f2d2f9face248b0dc1e6c2c31e352 100644
--- a/sdk/lib/_internal/pub/lib/src/barback.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback.dart
@@ -295,7 +295,7 @@ void _log(LogEntry entry) {
// Show the level (unless the message mentions it).
if (!messageMentions(entry.level.name)) {
- prefixParts.add("${entry.level} in");
+ prefixParts.add("${entry.level} from");
}
// Show the transformer.
@@ -329,7 +329,7 @@ void _log(LogEntry entry) {
break;
case LogLevel.INFO:
- log.message("$prefix\n$message");
+ log.message("${log.cyan(prefix)}\n$message");
break;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698