mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +01:00
different logging TAG for different variants
This commit is contained in:
parent
6871ef24a6
commit
a5f332dd1d
2 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,7 @@ import junit.framework.Assert;
|
||||||
import org.eehouse.android.xw4.loc.LocUtils;
|
import org.eehouse.android.xw4.loc.LocUtils;
|
||||||
|
|
||||||
public class DbgUtils {
|
public class DbgUtils {
|
||||||
private static final String TAG = "XW4";
|
private static final String TAG = BuildConstants.DBG_TAG;
|
||||||
private static boolean s_doLog = BuildConfig.DEBUG;
|
private static boolean s_doLog = BuildConfig.DEBUG;
|
||||||
|
|
||||||
private static Time s_time = new Time();
|
private static Time s_time = new Time();
|
||||||
|
|
|
@ -27,11 +27,13 @@ case $VARIANT in
|
||||||
APPNAME=Crosswords
|
APPNAME=Crosswords
|
||||||
SMSPORT=3344
|
SMSPORT=3344
|
||||||
INVITE_PREFIX=/and/
|
INVITE_PREFIX=/and/
|
||||||
|
DBG_TAG=XW4
|
||||||
;;
|
;;
|
||||||
xw4dbg)
|
xw4dbg)
|
||||||
APPNAME=CrossDbg
|
APPNAME=CrossDbg
|
||||||
SMSPORT=3345
|
SMSPORT=3345
|
||||||
INVITE_PREFIX=/anddbg/
|
INVITE_PREFIX=/anddbg/
|
||||||
|
DBG_TAG=X4BG
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
|
@ -75,6 +77,7 @@ class BuildConstants {
|
||||||
public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED;
|
public static final boolean CHAT_SUPPORTED = $CHAT_SUPPORTED;
|
||||||
public static final boolean THUMBNAIL_SUPPORTED = $THUMBNAIL_SUPPORTED;
|
public static final boolean THUMBNAIL_SUPPORTED = $THUMBNAIL_SUPPORTED;
|
||||||
public static final long BUILD_STAMP = $(date +'%s');
|
public static final long BUILD_STAMP = $(date +'%s');
|
||||||
|
public static final String DBG_TAG = "$DBG_TAG";
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue