mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-31 19:57:06 +01:00
tweaks to logging
This commit is contained in:
parent
8bd623d91a
commit
cd0cf0c3f2
2 changed files with 3 additions and 2 deletions
|
@ -297,7 +297,8 @@ public class NFCUtils {
|
||||||
result = msgs.toArray( new byte[msgs.size()][] );
|
result = msgs.toArray( new byte[msgs.size()][] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Log.d( TAG, "getMsgsFor() => %d msgs", result == null ? 0 : result.length );
|
Log.d( TAG, "getMsgsFor(gameID=%d) => %d msgs", gameID,
|
||||||
|
result == null ? 0 : result.length );
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -234,7 +234,7 @@ logNewState( XW_State old, XW_State newst, const char* caller )
|
||||||
if ( old != newst ) {
|
if ( old != newst ) {
|
||||||
char* oldStr = getStateStr(old);
|
char* oldStr = getStateStr(old);
|
||||||
char* newStr = getStateStr(newst);
|
char* newStr = getStateStr(newst);
|
||||||
XP_LOGF( "state transition %s => %s (from %s())", oldStr, newStr, caller );
|
XP_LOGFF( "state transition %s => %s (from %s())", oldStr, newStr, caller );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# define SETSTATE( s, st ) { \
|
# define SETSTATE( s, st ) { \
|
||||||
|
|
Loading…
Add table
Reference in a new issue