| Index: pkg/barback/lib/src/transform_logger.dart
|
| diff --git a/pkg/barback/lib/src/transform_logger.dart b/pkg/barback/lib/src/transform_logger.dart
|
| index d046460888b0e93300b8ca786852f340c9d524ef..6067b36a172610ee2904b9a215c83d458de4c586 100644
|
| --- a/pkg/barback/lib/src/transform_logger.dart
|
| +++ b/pkg/barback/lib/src/transform_logger.dart
|
| @@ -7,7 +7,7 @@ library barback.transform_logger;
|
| import 'package:source_maps/span.dart';
|
|
|
| import 'asset_id.dart';
|
| -import 'barback_logger.dart';
|
| +import 'log.dart';
|
| import 'transform.dart';
|
|
|
| /// Object used to report warnings and errors encountered while running a
|
| @@ -19,8 +19,8 @@ class TransformLogger {
|
|
|
| /// Logs an informative message.
|
| ///
|
| - /// If [asset] is provided, the log entry is associated with that asset,
|
| - /// otherwise it's associated with the primary input of [transformer].
|
| + /// If [asset] is provided, the log entry is associated with that asset.
|
| + /// Otherwise it's associated with the primary input of [transformer].
|
| /// If [span] is provided, indicates the location in the input asset that
|
| /// caused the message.
|
| void info(String message, {AssetId asset, Span span}) {
|
| @@ -29,8 +29,8 @@ class TransformLogger {
|
|
|
| /// Logs a warning message.
|
| ///
|
| - /// If [asset] is provided, the log entry is associated with that asset,
|
| - /// otherwise it's associated with the primary input of [transformer].
|
| + /// If [asset] is provided, the log entry is associated with that asset.
|
| + /// Otherwise it's associated with the primary input of [transformer].
|
| /// If present, [span] indicates the location in the input asset that caused
|
| /// the warning.
|
| void warning(String message, {AssetId asset, Span span}) {
|
| @@ -39,8 +39,8 @@ class TransformLogger {
|
|
|
| /// Logs an error message.
|
| ///
|
| - /// If [asset] is provided, the log entry is associated with that asset,
|
| - /// otherwise it's associated with the primary input of [transformer].
|
| + /// If [asset] is provided, the log entry is associated with that asset.
|
| + /// Otherwise it's associated with the primary input of [transformer].
|
| /// If present, [span] indicates the location in the input asset that caused
|
| /// the error.
|
| // TODO(sigmund,nweiz): clarify when an error should be logged or thrown.
|
|
|