Writing logs into logcat from yuor application is quite easy, reading the logcat programmatically is just a bit more tricky. Reading logs is usually used for bugreport purposes.