tweaks to logging

This commit is contained in:
Eric House 2020-03-24 15:59:33 -07:00
parent 8bd623d91a
commit cd0cf0c3f2
2 changed files with 3 additions and 2 deletions

View file

@ -297,7 +297,8 @@ public class NFCUtils {
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;
}

View file

@ -234,7 +234,7 @@ logNewState( XW_State old, XW_State newst, const char* caller )
if ( old != newst ) {
char* oldStr = getStateStr(old);
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 ) { \