mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 01:35:17 +08:00
Added obtainLoggerInMemoryData function usage in logger documentation
This commit is contained in:
@@ -173,6 +173,8 @@ You can only get the corresponding log data in the corresponding process.
|
||||
|
||||
If you need to get these log data in real time anywhere, please refer to [Xposed Module and Host Channel](xposed-channel), [Register Module App's Activity](host-inject#register-module-app-s-activity).
|
||||
|
||||
If you only want to get log data in real time through Module App or Host App, Please refer to the optional solution [YukiHookDataChannel.obtainLoggerInMemoryData](../public/com/highcapable/yukihookapi/hook/xposed/channel/YukiHookDataChannel#obtainloggerinmemorydata-method) method.
|
||||
|
||||
:::
|
||||
|
||||
You can also use `YukiHookLogger.Configs.elements` to customize the elements that debug logs display externally.
|
||||
|
@@ -167,6 +167,8 @@ YukiHookLogger.inMemoryData.forEach {
|
||||
|
||||
你只能在对应的进程中获取对应的日志数据,如果你需要在任何地方实时得到这些日志数据,请参考 [Xposed 模块与宿主通讯桥](xposed-channel)、[注册模块 Activity](host-inject#注册模块-activity)。
|
||||
|
||||
如果你只想通过模块或宿主来实时得到日志数据,请参考可选方案 [YukiHookDataChannel.obtainLoggerInMemoryData](../public/com/highcapable/yukihookapi/hook/xposed/channel/YukiHookDataChannel#obtainloggerinmemorydata-method) 方法。
|
||||
|
||||
:::
|
||||
|
||||
你还可以使用 `YukiHookLogger.Configs.elements` 自定义调试日志对外显示的元素。
|
||||
|
Reference in New Issue
Block a user