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

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

Issue 48993007: Revise barback logging patch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 2 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
« no previous file with comments | « pkg/barback/lib/src/transform_logger.dart ('k') | pkg/barback/lib/src/transformer_group.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/transform_node.dart
diff --git a/pkg/barback/lib/src/transform_node.dart b/pkg/barback/lib/src/transform_node.dart
index aa77d72a401690bf945173f81380f11b8cbb78d7..1ef19198b1c654f5c5ee2d7847eb16627850a805 100644
--- a/pkg/barback/lib/src/transform_node.dart
+++ b/pkg/barback/lib/src/transform_node.dart
@@ -12,8 +12,8 @@ import 'asset.dart';
import 'asset_id.dart';
import 'asset_node.dart';
import 'asset_set.dart';
-import 'barback_logger.dart';
import 'errors.dart';
+import 'log.dart';
import 'phase.dart';
import 'transform.dart';
import 'transformer.dart';
@@ -218,7 +218,6 @@ class TransformNode {
void _log(AssetId asset, LogLevel level, String message, Span span) {
// If the log isn't already associated with an asset, use the primary.
if (asset == null) asset = primary.id;
- var info = new TransformInfo(transformer, primary.id);
var entry = new LogEntry(info, asset, level, message, span);
_onLogController.add(entry);
}
« no previous file with comments | « pkg/barback/lib/src/transform_logger.dart ('k') | pkg/barback/lib/src/transformer_group.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698