add logdf, logging for DEBUG builds only

This commit is contained in:
Eric House 2015-07-11 10:52:00 -07:00
parent a612a89ac6
commit cfa101350a

View file

@ -78,6 +78,14 @@ public class DbgUtils {
}
} // logf
public static void logdf( String format, Object... args )
{
if ( s_doLog && BuildConfig.DEBUG ) {
Formatter formatter = new Formatter();
logf( formatter.format( format, args ).toString() );
}
} // logdf
public static void showf( Context context, String format, Object... args )
{
Formatter formatter = new Formatter();