-
Notifications
You must be signed in to change notification settings - Fork 966
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bugfix/viewpager_on_page_event
- Loading branch information
Showing
7 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# 日志 | ||
|
||
Hippy 的 `console` 模块实现了基本的日志输出,但要注意,它只支持 `log()`、`warn()`、`error()` 三个方法,别的暂时不支持。 | ||
Hippy 的 `console` 模块实现了基本的日志输出,但要注意,它只支持 `log()`、`warn()`、`error()`、`debug()` 四个方法,别的暂时不支持。 | ||
|
||
同时 `console` 还会将日志输出到 iOS 的日志和 [Android logcat](//developer.android.com/studio/command-line/logcat),这样跟终端日志一起输出有助于解决线上一些难以发现的问题,但要注意在线上包中屏蔽掉正常的信息日志输出。 | ||
|
||
> 2.6.4 及以上版本 console 支持 js 引擎原生方法,但只有 `log()`、`warn()`、`error()`、`debug()` 能够将日志输入到 iOS 和 [Android logcat](//developer.android.com/studio/command-line/logcat) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters