Javascript  |  30行  |  650 B

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/**
 * @fileoverview Definitions for console logging.
 * @externs
 */

/** @type {Object} */
var console = {};

/**
 * @param {...*} var_args The message(s) to log.
 * @return {void} Nothing.
 */
console.log = function(var_args) {};

/**
 * @param {...*} var_args The message(s) to log.
 * @return {void} Nothing.
 */
console.error = function(var_args) {};

/**
 * @param {...*} var_args The message(s) to log.
 * @return {void} Nothing.
 */
console.warn = function(var_args) {};