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, String msg}) native "Developer_debugger"; | 5 patch bool debugger({bool when: true, |
| 6 String message}) native "Developer_debugger"; |
6 | 7 |
7 patch inspect(object) native "Developer_inspect"; | 8 patch Object inspect(Object object) native "Developer_inspect"; |
8 | 9 |
9 patch log({int sequenceNumber, | 10 patch log({int sequenceNumber, |
10 int millisecondsSinceEpoch, | 11 int millisecondsSinceEpoch, |
11 int level, | 12 int level, |
12 String name, | 13 String name, |
13 String message, | 14 String message, |
14 Zone zone, | 15 Zone zone, |
15 Object error, | 16 Object error, |
16 StackTrace stackTrace}) native "Developer_log"; | 17 StackTrace stackTrace}) native "Developer_log"; |
OLD | NEW |