logly is a demo to show
how to check application's performance by PFLog and record crash info when application run by BugLog
buglog is a log manager for application crash
when a crash happens in our application ,buglog will write those infos into a file
the crash include exception which uncaught and ANR question (html exception is considered )
the buglog file named "BugLog.txt"
and put in path "/storage/emulated/0/Android/data/package/files/apm_log/BugLog.txt"
it is very simple to use this
BugLog.getInstance().start(this);
BugLog.getInstance().getBugLogFile();
date:2017-05-25 14:29:52
----deviceInfo----
BOARD=MSM8916
versionCode=1
versionName=1.0
----netState----
networkState =networkWifi
----crashInfo----
java.lang.NullPointerException
at com.rd.pflog.log.PFLogHandler.afterAddRecord(PFLogHandler.java:46)
at com.rd.pmlog.PerformanceActivity.onClick(PerformanceActivity.java:45)
at android.view.View.performClick(View.java:4496)
at android.view.View$PerformClick.run(View.java:18603)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5426)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)