I wish to introduce some logging to an android application that I'm taking over. I wish to be able to reference this log file during developing, and to get a copy of the log if a customer has issues while the program is in production.
Since this would be in production, I would like the make the log file into a rolling log, so it doesn't consume too many resources.
In some android examples I noticed import android.util.Log;
. I'm curious if this is a standard way of logging for android. If not, what is a good way of doing this (e.g. I really like log4j when coding in java.)?
Can android.util.log do a rolling log like I'm requesting?
Where does android.util.Log write to by default?
If just to console, is there a way to write this to a rolling log file on the android device, which can then be emailed if there is a problem with the program?