December 2013
Beginner
416 pages
12h 45m
English
In this section you will use the Log class to write debug messages that will become visible in the LogCat view, which appears in both Java and Debug perspectives in Eclipse. The default view level is verbose, but you can filter to a higher level. If you missed the initial prompt to launch LogCat, do this to open the view.
1. Open Window > Show View > Other from the main menu.
2. Select LogCat. The view will appear alongside the console, as shown in Figure 3.10.
Figure 3.10 LogCat view with verbose level enabled
To track program execution, a common technique is to add log or trace messages to your code. The Android ...
Read now
Unlock full access