android_learning:using_the_system_log
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
android_learning:using_the_system_log [2016/04/24 03:34] – mithat | android_learning:using_the_system_log [2016/04/24 04:13] (current) – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using the system log ====== | ====== Using the system log ====== | ||
- | You can use the system log to output debug information to the console. | + | '' |
+ | |||
+ | Example:< | ||
Log.d(" | Log.d(" | ||
</ | </ | ||
- | You have to import import | + | In Android Studio, when you run your app in debug mode (//Run > Debug 'app'// or the bug icon in the toolbar or Shift+F9) you should see a new pane on the bottom panel: **6: Android monitor**. Your messages will show up there---along with a bunch of others. |
- | In Android Studio, when you run your app in debug mode (//Run > Debug ' | + | You can filter out everything except what you have tagged with your //tag// by selecting "Edit filter configuration" |
For more info, see [[https:// | For more info, see [[https:// |
android_learning/using_the_system_log.1461468857.txt.gz · Last modified: 2016/04/24 03:34 by mithat