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