Chromium Code Reviews

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/build_environment.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.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/lib/src/barback/build_environment.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart b/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart
index 5077cd217388d6bb8fe8262c658a64ac340ec5c3..47c242d8d00d8feac4120224f7056232fc201f73 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/build_environment.dart
@@ -395,6 +395,10 @@ void _log(LogEntry entry) {
case LogLevel.INFO:
log.message("${log.cyan(prefix)}\n$message");
break;
+
+ case LogLevel.FINE:
+ log.fine("${log.gray(prefix)}\n$message");
+ break;
}
}

Powered by Google App Engine