On Sep 17, 2012, at 9:07 AM, Stephan Steiner <[email protected]> wrote:
> Is there a way (and if so, how to do so) pick all log entries from my
> application from whichever place Android.Util.Log writes to?
You can read logcat messages by invoking the `logcat` command (with
System.Diagnostics.Process) and reading stdout. You will need to filter it by
yourself (you get everything by default), and you'll also need the
android.permission.READ_LOGS permission in order to invoke logcat:
http://stackoverflow.com/a/8092481/83444
http://stackoverflow.com/questions/4552076/how-i-start-a-process-to-run-logcat-on-android
For that reason, you may prefer a logging solution that doesn't rely on logcat,
though logcat does provided the added benefit that if your app crashes, on
restart you'll be able to capture the stack trace...
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid