mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-10 05:26:10 +01:00
add logdf, logging for DEBUG builds only
This commit is contained in:
parent
a612a89ac6
commit
cfa101350a
1 changed files with 8 additions and 0 deletions
|
@ -78,6 +78,14 @@ public class DbgUtils {
|
||||||
}
|
}
|
||||||
} // logf
|
} // 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 )
|
public static void showf( Context context, String format, Object... args )
|
||||||
{
|
{
|
||||||
Formatter formatter = new Formatter();
|
Formatter formatter = new Formatter();
|
||||||
|
|
Loading…
Reference in a new issue