When exceptions occur, you can log them for debugging purposes with Android’s built-in logging mechanism. Android provides class Log (package android.util
) with several static
methods that represent messages of varying detail. Logged messages can be viewed in the LogCat tab at the bottom of the IDE as well as with the Android logcat tool. For more details on logging messages, visit