Skip to Content
Mobile DevOps
book

Mobile DevOps

by Rohin Tak, Jhalak Modi
March 2018
Intermediate to advanced content levelIntermediate to advanced
376 pages
7h 25m
English
Packt Publishing
Content preview from Mobile DevOps

Writing to the debug log

You can log messages to the debug log using the Android.Util.Log class. It has different levels of logging:

  • Info
  • Debug
  • Warning
  • Error

All these levels are self-explanatory.

  1. Let's replace the Console.WriteLine() written in the previous section with Log.Debug() to write the logs into logcat:
  1. 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:
  1. This is a very simple and straightforward way of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Modern DevOps

Implementing Modern DevOps

David Gonzalez, Danny Varghese
Java Security

Java Security

Scott Oaks

Publisher Resources

ISBN: 9781788296243Supplemental Content