Java Code Examples for io.vov.vitamio.BuildConfig#DEBUG

The following examples show how to use io.vov.vitamio.BuildConfig#DEBUG . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Log.java    From MyHearts with Apache License 2.0 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 2
Source File: Log.java    From MyHearts with Apache License 2.0 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}
 
Example 3
Source File: Log.java    From HPlayer with Apache License 2.0 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 4
Source File: Log.java    From HPlayer with Apache License 2.0 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}
 
Example 5
Source File: Log.java    From video-player with MIT License 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 6
Source File: Log.java    From video-player with MIT License 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}
 
Example 7
Source File: Log.java    From NetEasyNews with GNU General Public License v3.0 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 8
Source File: Log.java    From NetEasyNews with GNU General Public License v3.0 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}
 
Example 9
Source File: Log.java    From react-native-android-vitamio with MIT License 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 10
Source File: Log.java    From react-native-android-vitamio with MIT License 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}
 
Example 11
Source File: Log.java    From Vitamio with Apache License 2.0 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 12
Source File: Log.java    From Vitamio with Apache License 2.0 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}
 
Example 13
Source File: Log.java    From BambooPlayer with Apache License 2.0 5 votes vote down vote up
public static void i(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.i(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.i(TAG, msg);
	}
}
 
Example 14
Source File: Log.java    From BambooPlayer with Apache License 2.0 5 votes vote down vote up
public static void d(String msg, Object... args) {
	try {
		if (BuildConfig.DEBUG) 
			android.util.Log.d(TAG, String.format(msg, args));
	} catch (MissingFormatArgumentException e) {
		android.util.Log.e(TAG, "vitamio.Log", e);
		android.util.Log.d(TAG, msg);
	}
}