Debug Android App using Log
Debugging during development process always play a key role, so lots of developer use logging. Android provides us a great interface while dealing with logcat. The problem I saw with few developers, they simply use the log for debugging and never remove their log statements before creating final apk & which result in decreased application performance. To avoid this situation, you can create a custom log class & can control the amount of information visible in logcat. The CustomLogger class is as follow:- public class CustomLogger { public static void d(String tag, String msg) { if (Log.isLoggable(tag, Log.DEBUG)) { Log.d(tag, msg); } } public static void i(String tag,...