

Each log entry has a priority of FATAL,įor example, the following log message has a priority of DEBUG and a tag of Priority, and message associated with it. Such as tags and messages, and identify different types of logs, such asĮach log has a date, timestamp, process and thread ID, tag, package name,


Logcat formats logs to make it easier to scan useful information, You can also use the toolbar to clear, pause, or restartįigure 1. To turn it back on, clickįrom the toolbar. Up using your mouse wheel turns this feature off. Select View > Tool Windows > Logcat from the menu bar.īy default, Logcat scrolls to the end.In Android Studio Electric Eel, build and run your app on a physical.To view the log messages for your app, do the following. When an app throws an exception, Logcat shows a messageįollowed by the associated stack trace containing links to the line of code. The Logcat window in Android Studio Electric Eel helps you debug your app byĭisplaying logs from your device in real time-for example, messages that youĪdded to your app with the Log class, messagesįrom services that run on Android, or system messages, such as when a garbageĬollection occurs.
