• 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 */
20/**
21 * @syscap SystemCapability.ArkUI.ArkUI.Full
22 * @atomicservice
23 * @since 11
24 */
25export declare class console {
26  /**
27   * Prints "debug" logs.
28   *
29   * @param { string } message - Text to print.
30   * @param { any[] } arguments
31   * @syscap SystemCapability.ArkUI.ArkUI.Full
32   * @since 3
33   */
34  /**
35   * Prints "debug" logs.
36   *
37   * @param { string } message - Text to print.
38   * @param { any[] } arguments
39   * @syscap SystemCapability.ArkUI.ArkUI.Full
40   * @atomicservice
41   * @since 11
42   */
43  static debug(message: string, ...arguments: any[]): void;
44
45  /**
46   * Prints "log" logs.
47   *
48   * @param { string } message - Text to print.
49   * @param { any[] } arguments
50   * @syscap SystemCapability.ArkUI.ArkUI.Full
51   * @since 3
52   */
53  /**
54   * Prints "log" logs.
55   *
56   * @param { string } message - Text to print.
57   * @param { any[] } arguments
58   * @syscap SystemCapability.ArkUI.ArkUI.Full
59   * @atomicservice
60   * @since 11
61   */
62  static log(message: string, ...arguments: any[]): void;
63
64  /**
65   * Prints "info" logs.
66   *
67   * @param { string } message - Text to print.
68   * @param { any[] } arguments
69   * @syscap SystemCapability.ArkUI.ArkUI.Full
70   * @since 3
71   */
72  /**
73   * Prints "info" logs.
74   *
75   * @param { string } message - Text to print.
76   * @param { any[] } arguments
77   * @syscap SystemCapability.ArkUI.ArkUI.Full
78   * @atomicservice
79   * @since 11
80   */
81  static info(message: string, ...arguments: any[]): void;
82
83  /**
84   * Prints "warn" logs.
85   *
86   * @param { string } message - Text to print.
87   * @param { any[] } arguments
88   * @syscap SystemCapability.ArkUI.ArkUI.Full
89   * @since 3
90   */
91  /**
92   * Prints "warn" logs.
93   *
94   * @param { string } message - Text to print.
95   * @param { any[] } arguments
96   * @syscap SystemCapability.ArkUI.ArkUI.Full
97   * @atomicservice
98   * @since 11
99   */
100  static warn(message: string, ...arguments: any[]): void;
101
102  /**
103   * Prints "error" logs.
104   *
105   * @param { string } message - Text to print.
106   * @param { any[] } arguments
107   * @syscap SystemCapability.ArkUI.ArkUI.Full
108   * @since 3
109   */
110  /**
111   * Prints "error" logs.
112   *
113   * @param { string } message - Text to print.
114   * @param { any[] } arguments
115   * @syscap SystemCapability.ArkUI.ArkUI.Full
116   * @atomicservice
117   * @since 11
118   */
119  static error(message: string, ...arguments: any[]): void;
120}
121