OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 file_instrumentation; | 5 library file_instrumentation; |
6 | 6 |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'package:analyzer/instrumentation/instrumentation.dart'; | 9 import 'package:analyzer/instrumentation/instrumentation.dart'; |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 void logWithPriority(String message) { | 28 void logWithPriority(String message) { |
29 log(message); | 29 log(message); |
30 } | 30 } |
31 | 31 |
32 @override | 32 @override |
33 void shutdown() { | 33 void shutdown() { |
34 _sink.close(); | 34 _sink.close(); |
35 _sink = null; | 35 _sink = null; |
36 } | 36 } |
37 } | 37 } |
OLD | NEW |