Debug Tool Window. Logcat
The Logcat tab is only available for Android applications (see Debugging with Logcat for details). It displays a log of all processes currently running on the connected device or the emulator.
The logcat functionality is also available from the Android tool window. The only difference is that while the Logcat tab in the Debug tool window shows a log of all processes, in the Android tool window you can filter log messages by a specific process.
Use the toolbar controls and buttons to configure the scope and the presentation of log data, and to navigate through the log.
|Item||Tooltip and shortcut||Description|
|Log Level||N/A||From this drop-down list, select the priority of log messages to be displayed. The available options are:|
|Find||Use this text box to search through the list of messages. As you type a search string, the messages that match the search pattern are displayed with the matching character strings highlighted. To finalize the search, press Enter. Search patterns are stored in the search history list. To clear the search history, click the button.|
From this list, select an existing filter configuration, or create a new one.
A filter configuration is a set of filtering parameters. The use of filter configurations provides more flexible control over the type and amount of log data displayed than just specifying the information type by choosing a message priority in the Log level drop-down list.
Up the Stack Trace|
|Click this button to navigate up in the stack trace and have the cursor jump to the corresponding location in the source code.|
Down the Stack Trace|
|Click this button to navigate down in the stack trace and have the cursor jump to the corresponding location in the source code.|
|Use Soft Wraps||Click this button to toggle the soft wrap mode of the output.|
|Scroll to the end||Click this button to move the caret to the last line of the console output.|
|Click this button to print the logs.|
|Clear logcat||Click this button to remove log data from previous sessions on the selected device.|
|Restart||Click this button to restart logging.|