未验证 提交 a50ce13b 编写于 作者: O openharmony_ci 提交者: Gitee

!17552 add console api description

Merge pull request !17552 from yaochaonan/docs
......@@ -335,4 +335,24 @@ console.timeLog('timer1', value);
// timer1: 365.227ms 17
console.timeEnd('timer1');
// timer1: 513.22ms
```
## console.trace<sup>10+</sup>
trace(...arguments: Object[]): void
打印当前堆栈。
**系统能力:** SystemCapability.Utils.Lang
**参数:**
| 参数名 | 类型 | 必填 | 说明 |
| ------- | ------ | ---- | ----------- |
| arguments | Object | 否 | 需要打印的其他日志。 |
**示例:**
```
console.trace();
console.trace("Show the trace");
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册