OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library barback.log; | 5 library barback.log; |
6 | 6 |
7 import 'package:source_span/source_span.dart'; | 7 import 'package:source_span/source_span.dart'; |
8 | 8 |
9 import 'asset/asset_id.dart'; | 9 import 'asset/asset_id.dart'; |
10 import 'errors.dart'; | 10 import 'errors.dart'; |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 final LogLevel level; | 33 final LogLevel level; |
34 final String message; | 34 final String message; |
35 | 35 |
36 /// The location that the message pertains to or null if not associated with | 36 /// The location that the message pertains to or null if not associated with |
37 /// a [SourceSpan]. | 37 /// a [SourceSpan]. |
38 final SourceSpan span; | 38 final SourceSpan span; |
39 | 39 |
40 LogEntry(this.transform, this.assetId, this.level, this.message, this.span); | 40 LogEntry(this.transform, this.assetId, this.level, this.message, this.span); |
41 } | 41 } |
OLD | NEW |