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 patch bool debugger({bool when: true, | 5 patch bool debugger({bool when: true, |
6 String message}) native "Developer_debugger"; | 6 String message}) native "Developer_debugger"; |
7 | 7 |
8 patch Object inspect(Object object) native "Developer_inspect"; | 8 patch Object inspect(Object object) native "Developer_inspect"; |
9 | 9 |
10 patch void log(String message, | 10 patch void log(String message, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 int _nextSequenceNumber = 0; | 42 int _nextSequenceNumber = 0; |
43 | 43 |
44 _log(String message, | 44 _log(String message, |
45 int timestamp, | 45 int timestamp, |
46 int sequenceNumber, | 46 int sequenceNumber, |
47 int level, | 47 int level, |
48 String name, | 48 String name, |
49 Zone zone, | 49 Zone zone, |
50 Object error, | 50 Object error, |
51 StackTrace stackTrace) native "Developer_log"; | 51 StackTrace stackTrace) native "Developer_log"; |
| 52 |
| 53 patch ServiceExtensionHandler _lookupExtension(String method) |
| 54 native "Developer_lookupExtension"; |
| 55 |
| 56 patch _registerExtension(String method, ServiceExtensionHandler handler) |
| 57 native "Developer_registerExtension"; |
OLD | NEW |