Android Logging and using Logcat edit

Generating Logging code

Android Studio’s Live templates can offer quite a few shortcuts for quick logging. To use Live templates, all you need to do is to start typing the template name, and hit TAB or enter to insert the statement.


Full list of templates can be found in Android Studio’s settings (ALT+s and type “live”). And it is possible to add your custom templates as well.

If you find Android Studio’s Live templates not enough for your needs, you can consider Android Postfix Plugin

This is a very useful library which helps you to avoid writing the logging line manually.

The syntax is absolutely simple:

.log - Logging. If there is constant variable “TAG”, it use “TAG” . Else it use class name.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents
51 Logging and using Logcat
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close