I am a little confused to differenate System.err/out, e.printStackTrace and log while logging RuntimeException.
At first, I thought that log information is not saved in a file if I use System.err/out, e.printStackTrace and just printed on console.
But System.err/out, e.printStackTrace also seem to be logged in a log buffer and we can see it through logcat.
Threfore, if we can save log in a file and also System.err/out, e.printStackTrace results can saved in a file.
Q1. What I understand is right?
Q2. If it is, which logging type is better to debug field issues after production?
Q3. If any RuntimeExceptions occur, where can I find the log file in android folder?
UPDATE
I got an answer for Q3.
In case of android, RuntimeException log seems to be saved in /data/system/dropbox.