• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2020 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 /**
17 * @devices tv, phone, tablet, wearable, liteWearable, smartVision
18 * @since 3
19 */
20export declare class console {
21  /**
22   * Prints "debug" logs.
23   * @param message Text to print.
24   * @devices tv, phone, tablet, wearable, liteWearable, smartVision
25   */
26  static debug(message: string, ...arguments: any[]): void;
27
28  /**
29   * Prints "log" logs.
30   * @param message Text to print.
31   * @devices tv, phone, tablet, wearable, liteWearable, smartVision
32   */
33  static log(message: string, ...arguments: any[]): void;
34
35  /**
36   * Prints "info" logs.
37   * @param message Text to print.
38   * @devices tv, phone, tablet, wearable, liteWearable, smartVision
39   */
40  static info(message: string, ...arguments: any[]): void;
41
42  /**
43   * Prints "warn" logs.
44   * @param message Text to print.
45   * @devices tv, phone, tablet, wearable, liteWearable, smartVision
46   */
47  static warn(message: string, ...arguments: any[]): void;
48
49  /**
50   * Prints "error" logs.
51   * @param message Text to print.
52   * @devices tv, phone, tablet, wearable, liteWearable, smartVision
53   */
54  static error(message: string, ...arguments: any[]): void;
55}
56