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 code_transformers.messages.messages_logger; | 5 library code_transformers.messages.messages_logger; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:convert' show JSON; | 8 import 'dart:convert' show JSON; |
9 | 9 |
10 import 'package:barback/barback.dart'; | 10 import 'package:barback/barback.dart'; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 } | 146 } |
147 | 147 |
148 // Reads all logs for an asset and adds them to this loggers log output. | 148 // Reads all logs for an asset and adds them to this loggers log output. |
149 Future addLogFilesFromAsset(AssetId id, [int nextNumber = 1]) { | 149 Future addLogFilesFromAsset(AssetId id, [int nextNumber = 1]) { |
150 return _readLogFilesForAsset(id, _transform, _logs); | 150 return _readLogFilesForAsset(id, _transform, _logs); |
151 } | 151 } |
152 } | 152 } |
153 | 153 |
154 /// Extension used for assets that contained serialized logs. | 154 /// Extension used for assets that contained serialized logs. |
155 const String LOG_EXTENSION = '._buildLogs'; | 155 const String LOG_EXTENSION = '._buildLogs'; |
OLD | NEW |