You can log messages to the debug log using the Android.Util.Log class. It has different levels of logging:
All these levels are self-explanatory.
- Let's replace the Console.WriteLine() written in the previous section with Log.Debug() to write the logs into logcat:
- Go to the logcat (Device Log) window and filter tags with the tag given in the code to see only the logs we have written in the code. In this case, the tag will be PhoneCall:
- This is a very simple and straightforward way of ...