How to read system log file in Android?
<p>I am trying to read system logs in my code to generate something like an error report.
Similar to adb logcat, but in a programming way.</p>

<p>How can I achieve this?</p>
