OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 class _ConsoleImpl | |
6 // Console is sometimes a singleton bag-of-properties without a prototype. | |
7 implements Console | |
8 native "=(typeof console == 'undefined' ? {} : console)" { | |
9 | |
10 final _MemoryInfoImpl memory; | |
11 | |
12 final List profiles; | |
13 | |
14 void assertCondition(bool condition, Object arg) native; | |
15 | |
16 void count() native; | |
17 | |
18 void debug(Object arg) native; | |
19 | |
20 void dir() native; | |
21 | |
22 void dirxml() native; | |
23 | |
24 void error(Object arg) native; | |
25 | |
26 void group(Object arg) native; | |
27 | |
28 void groupCollapsed(Object arg) native; | |
29 | |
30 void groupEnd() native; | |
31 | |
32 void info(Object arg) native; | |
33 | |
34 void log(Object arg) native; | |
35 | |
36 void markTimeline() native; | |
37 | |
38 void profile(String title) native; | |
39 | |
40 void profileEnd(String title) native; | |
41 | |
42 void time(String title) native; | |
43 | |
44 void timeEnd(String title, Object arg) native; | |
45 | |
46 void timeStamp(Object arg) native; | |
47 | |
48 void trace(Object arg) native; | |
49 | |
50 void warn(Object arg) native; | |
51 | |
52 } | |
OLD | NEW |