源码log打印技巧 guoyongcan 2022-04-15 139 阅读1分钟 Slog.i(TAG, "Adding activity " + r + " to stack to task " + task, new RuntimeException("here").fillInStackTrace()) Log.e(TAG, "Stack:" + android.util.Log.getStackTraceString(new Throwable()));