>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...
I've implemented my own logging application but now I have customers reporting app crashes so I do need to access logcat after all. However, the second link you gave mentions that your need to have rooted your phone to do so - which is a nogo (I'm in a corporate environment, customer controls all the phone and they're not about to root the devices). So, what other options are there to get crash messages with m4a? Regards Stephan -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Logging-recommendations-tp5711831p5712514.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid