From 3ebade83ade5967b14e45bb29f7fb8b389cea777 Mon Sep 17 00:00:00 2001 From: shawn_he Date: Wed, 31 Aug 2022 17:21:37 +0800 Subject: [PATCH] update doc Signed-off-by: shawn_he --- .../reference/apis/js-apis-logs.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/en/application-dev/reference/apis/js-apis-logs.md b/en/application-dev/reference/apis/js-apis-logs.md index c72c204be0..a1e0786bda 100644 --- a/en/application-dev/reference/apis/js-apis-logs.md +++ b/en/application-dev/reference/apis/js-apis-logs.md @@ -8,6 +8,22 @@ If you want to use more advanced log printing services, for example, filtering l > > The initial APIs of this module are supported since API version 3. Newly added APIs will be marked with a superscript to indicate their earliest API version. + +## console.log + +log(message: string): void + +Prints logs. + +**System capability**: SystemCapability.ArkUI.ArkUI.Full + +**Parameters** + +| Name | Type | Mandatory | Description | +| ------- | ------ | ---- | ----------- | +| message | string | Yes | Text to print.| + + ## console.debug debug(message: string): void -- GitLab