Created
June 24, 2014 12:42
-
-
Save mariciv/d44accb157d09dbf04dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package co.infinum.mojvip.rs.helpers; | |
import android.util.Log; | |
import co.infinum.mojvip.rs.BuildConfig; | |
import co.infinum.mojvip.rs.constants.Constants; | |
/** | |
* Created by dino on 04/03/14. | |
*/ | |
public class Logger { | |
public static final String TAG = Constants.LOGTAG; | |
public static void d(String message) { | |
if (BuildConfig.DEBUG && message != null) { | |
Log.d(TAG, message); | |
} | |
} | |
public static void e(String message) { | |
if (BuildConfig.DEBUG && message != null) { | |
Log.e(TAG, message); | |
} | |
} | |
public static void i(String message) { | |
if (BuildConfig.DEBUG && message != null) { | |
Log.i(TAG, message); | |
} | |
} | |
public static void v(String message) { | |
if (BuildConfig.DEBUG && message != null) { | |
Log.v(TAG, message); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment