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

!5151 【测试框架】 新增printSync 对应MD文档修改

Merge pull request !5151 from 徐承桦/master
......@@ -622,6 +622,32 @@ abilityDelegator.getCurrentTopAbility((err : any, data : any) => {
### printSync
printSync(msg: string): void
打印日志信息到单元测试终端控制台
**系统能力:** SystemCapability.Ability.AbilityRuntime.Core
**参数:**
| 参数名 | 类型 | 必填 | 说明 |
| ------ | ------ | ---- | ---------- |
| msg | string | 是 | 日志字符串 |
**示例:**
```js
var abilityDelegator;
var msg = "msg";
abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
abilityDelegator.printSync(msg);
```
### print
print(msg: string, callback: AsyncCallback\<void>): void
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册