Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin中不传TAG打印会报错 #43

Open
chenchengyin opened this issue May 2, 2018 · 0 comments
Open

Kotlin中不传TAG打印会报错 #43

chenchengyin opened this issue May 2, 2018 · 0 comments

Comments

@chenchengyin
Copy link

Kotlin中不穿具体TAG打印会报错,目测是Klog的逻辑有些小错误,应是如果不传TAG,则使用全局TAG,如果没有设置,则用className
java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.socks.library.KLog.getObjectsString(KLog.java:323)
at com.socks.library.KLog.wrapperContent(KLog.java:302)
at com.socks.library.KLog.printLog(KLog.java:225)
at com.socks.library.KLog.d(KLog.java:95)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant