© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
J. StevensonAndroid Software Internals Quick Referencehttps://doi.org/10.1007/978-1-4842-6914-5_8

8. Obfuscation and Encryption

James Stevenson1  
(1)
London, UK
 

Logging

The Log class in Android can be used to create log messages in logcat (accessible via the adb logcat command); these logs come in a handful of different levels, these being
  • Log.wtf - “What a Terrible Failure” (treated as an extreme ERROR)

  • Log.e - ERROR

  • Log.w - WARNING

  • Log.i - INFO

  • Log.d - DEBUG

  • Log.v - VERBOSE

As stated, these log messages can be read via logcat. Logcat is Android’s logging system and logs everything from system messages to stack traces. Applications can write to logcat by using the ...

Get Android Software Internals Quick Reference: A Field Manual and Security Reference Guide to Java-based Android Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.