• 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 * @syscap SystemCapability.ArkUI.ArkUI.Full
18 * @since 3
19 */
20export declare class console {
21  /**
22   * Prints "debug" logs.
23   * @param message Text to print.
24   */
25  static debug(message: string, ...arguments: any[]): void;
26
27  /**
28   * Prints "log" logs.
29   * @param message Text to print.
30   */
31  static log(message: string, ...arguments: any[]): void;
32
33  /**
34   * Prints "info" logs.
35   * @param message Text to print.
36   */
37  static info(message: string, ...arguments: any[]): void;
38
39  /**
40   * Prints "warn" logs.
41   * @param message Text to print.
42   */
43  static warn(message: string, ...arguments: any[]): void;
44
45  /**
46   * Prints "error" logs.
47   * @param message Text to print.
48   */
49  static error(message: string, ...arguments: any[]): void;
50}
51