OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /** | |
6 * @fileoverview Definitions for console logging. | |
7 * @externs | |
8 */ | |
9 | |
10 /** @type {Object} */ | |
11 var console = {}; | |
12 | |
13 /** | |
14 * @param {...*} var_args The message(s) to log. | |
15 * @return {void} Nothing. | |
16 */ | |
17 console.log = function(var_args) {}; | |
18 | |
19 /** | |
20 * @param {...*} var_args The message(s) to log. | |
21 * @return {void} Nothing. | |
22 */ | |
23 console.error = function(var_args) {}; | |
24 | |
25 /** | |
26 * @param {...*} var_args The message(s) to log. | |
27 * @return {void} Nothing. | |
28 */ | |
29 console.warn = function(var_args) {}; | |
OLD | NEW |