OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 observatory_server; | 5 library observatory_server; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:convert'; | 8 import 'dart:convert'; |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 | 10 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 } | 150 } |
151 } | 151 } |
152 | 152 |
153 main(List<String> args) { | 153 main(List<String> args) { |
154 hierarchicalLoggingEnabled = true; | 154 hierarchicalLoggingEnabled = true; |
155 logger.level = Level.ALL; | 155 logger.level = Level.ALL; |
156 logger.onRecord.listen(print); | 156 logger.onRecord.listen(print); |
157 new ObservatoryServer(args)..start(); | 157 new ObservatoryServer(args)..start(); |
158 } | 158 } |
159 | 159 |
OLD | NEW |