source: trunk/FACT++/scripts/doc/console.js@ 19711

Last change on this file since 19711 was 16071, checked in by tbretz, 11 years ago
Added console.warn to print a highlighted message to the ocnsole.
File size: 1.3 KB
Line 
1throw new Error("Description for built in functions. Must not be included!");
2/**
3 * @fileOverview
4 * Documentation of dim namespace.
5 */
6
7/**
8 * @namespace
9 *
10 * Namespace for extension functions dealing with the console
11 *
12 * @author <a href="mailto:thomas.bretz@epfl.ch">Thomas Bretz</a>
13 */
14var console = { };
15
16/**
17 *
18 * Displays a message on the local console (only).
19 *
20 * @param argument
21 * Any kind of argument can be given. If it is not a String, it
22 * is converted using the toString() member function.
23 *
24 * @param [. . .]
25 * Any number of additional arguments. Each argument will appear in
26 * a new line.
27 *
28 * @example
29 * console.out("Five="+5, "--- new line ---");
30 *
31 */
32console.out = function() { /* [native code] */ }
33
34/**
35 *
36 * Displays a warning message on the local console (only).
37 *
38 * (This is mainly meant for debugging purpose to highlight warning
39 * messages.)
40 *
41 * @param argument
42 * Any kind of argument can be given. If it is not a String, it
43 * is converted using the toString() member function.
44 *
45 * @param [. . .]
46 * Any number of additional arguments. Each argument will appear in
47 * a new line.
48 *
49 * @example
50 * console.warn("WARNING: Five="+5, "--- new line ---");
51 *
52 */
53console.warn = function() { /* [native code] */ }
Note: See TracBrowser for help on using the repository browser.