android java运行堆栈显示

来源:互联网 发布:淘宝运营 数据表格 编辑:程序博客网 时间:2024/06/05 16:00



import android.util.Log;
import android.util.Pair;
import android.util.Slog;



顶顶顶顶


    RuntimeException e = new RuntimeException("error is here");
    e.fillInStackTrace();
    System.err.println("Failure starting apk: " + e);
//打不出来
Slog.i("run stack", "xxx" + this, e);
//这个可以
0 0
原创粉丝点击