mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-07 11:10:04 +08:00
Merge code
This commit is contained in:
@@ -185,8 +185,10 @@ abstract class BaseFinder(
|
|||||||
|
|
||||||
/** 存在日志时输出日志 */
|
/** 存在日志时输出日志 */
|
||||||
internal fun printLogIfExist() {
|
internal fun printLogIfExist() {
|
||||||
if (loggingContent == null) return
|
if (loggingContent != null) yLoggerE(
|
||||||
yLoggerE(msg = "NoSuch$tag happend in [$classSet] ${loggingContent?.first} [${hookTag}]", e = loggingContent?.second)
|
msg = "${hookInstance?.packageName?.let { "[$it] " } ?: ""}NoSuch$tag happend in [$classSet] ${loggingContent?.first} [${hookTag}]",
|
||||||
|
e = loggingContent?.second
|
||||||
|
)
|
||||||
/** 仅输出一次 - 然后清掉日志 */
|
/** 仅输出一次 - 然后清掉日志 */
|
||||||
loggingContent = null
|
loggingContent = null
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user