add a bit of logging around transport sends

This commit is contained in:
Eric House 2015-07-17 07:41:55 -07:00
parent a920ce455b
commit c98a724611

View file

@ -359,6 +359,8 @@ public class CommsTransport implements TransportProcs,
public int transportSend( byte[] buf, CommsAddrRec addr,
CommsConnType conType, int gameID )
{
DbgUtils.logdf( "CommsTransport.transportSend(len=%d, typ=%s)",
buf.length, conType.toString() );
int nSent = -1;
Assert.assertNotNull( addr );
Assert.assertTrue( addr.contains( conType ) );
@ -385,7 +387,7 @@ public class CommsTransport implements TransportProcs,
// Keep this while debugging why the resend_all that gets
// fired on reconnect doesn't unstall a game but a manual
// resend does.
DbgUtils.logf( "transportSend(%d)=>%d", buf.length, nSent );
DbgUtils.logdf( "transportSend(%d)=>%d", buf.length, nSent );
return nSent;
}