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

Unified Diff: pkg/barback/lib/src/package_graph.dart

Issue 166333003: Add support for a "fine" barback log level. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months 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
Index: pkg/barback/lib/src/package_graph.dart
diff --git a/pkg/barback/lib/src/package_graph.dart b/pkg/barback/lib/src/package_graph.dart
index cf198d9d1bafd14e5e61d36d62dcf5eaaf776a93..6765cf38ecb9808e3d9563df0d8af75c62674bd5 100644
--- a/pkg/barback/lib/src/package_graph.dart
+++ b/pkg/barback/lib/src/package_graph.dart
@@ -84,7 +84,7 @@ class PackageGraph {
cascade.onLog.listen((entry) {
if (_logController.hasListener) {
_logController.add(entry);
- } else {
+ } else if (entry.level != LogLevel.FINE) {
// No listeners, so just print entry.
var buffer = new StringBuffer();
buffer.write("[${entry.level} ${entry.transform}] ");

Powered by Google App Engine
This is Rietveld 408576698