diff --git a/api/application/abilityDelegator.d.ts b/api/application/abilityDelegator.d.ts index 72408dd34b8537ff2813565c1c8e45b91e4e8386..156c222b32410b171b7085f14a30e416f77cfc68 100644 --- a/api/application/abilityDelegator.d.ts +++ b/api/application/abilityDelegator.d.ts @@ -132,10 +132,19 @@ export interface AbilityDelegator { * @syscap SystemCapability.Ability.AbilityRuntime.Core * @param msg Log information */ - printSync(msg: string): void; print(msg: string, callback: AsyncCallback): void; print(msg: string): Promise; + /** + * Prints log information to the unit testing console. + * The total length of the log information to be printed cannot exceed 1000 characters. + * + * @since 9 + * @syscap SystemCapability.Ability.AbilityRuntime.Core + * @param msg Log information + */ + printSync(msg: string): void; + /** * Execute the given command in the aa tools side. *