I would like to be able to save and print logcat messages when my device is disconnected from the computer, and then when I plug it in, to have all the messages be printed to logcat.
Currently, when I log, this does not happen. When I plug my phone in, I can hook the device to logcat and lots of logs from the day get printed into logcat. They are listed under my app's process. My logs are not there though. How can I get them there?
Here is how I log:
public static final String TAG = "Service";
Log.v(TAG, "log");
Edit: Yesterday, I disconnected from logcat with a process running. Then today, I reconnected to logcat. Since I still had a filter for my logs on, logs from the last few hours printed. I then turned the filter on and off and all of them disappeared.