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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/load_transformers.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: sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart b/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart
index 13567edcdbb7160869936af5ed02b0104fff68fc..72768f47acd61b8615ad89a5bd2cd4f7dcc27f24 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart
@@ -482,6 +482,8 @@ Map _serializeTransform(Transform transform) {
var method;
if (message['level'] == 'Info') {
method = transform.logger.info;
+ } else if (message['level'] == 'Fine') {
+ method = transform.logger.fine;
} else if (message['level'] == 'Warning') {
method = transform.logger.warning;
} else {

Powered by Google App Engine
This is Rietveld 408576698