Android Open Source - AwakeDebug Log






From Project

Back to project page AwakeDebug.

License

The source code is released under:

Apache License

If you think the Android project AwakeDebug listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.afzaln.awakedebug;
//  w w w  .  j  ava2s .  c om
/**
 * Created by afzal on 2014-05-15.
 */
public class Log {
    public static void d(String tag, String message) {
        if (BuildConfig.DEBUG) {
            android.util.Log.d(tag, message);
        }
    }

    public static void e(String tag, String message, Throwable ex) {
        if (BuildConfig.DEBUG) {
            android.util.Log.e(tag, message, ex);
        }
    }
}




Java Source Code List

com.afzaln.awakedebug.Log.java
com.afzaln.awakedebug.MainActivity.java
com.afzaln.awakedebug.PowerConnectionReceiver.java