forked from I2P_Developers/i2p.i2p
debug log tweak
This commit is contained in:
@ -101,10 +101,13 @@ public class DataMessage extends FastI2NPMessageImpl {
|
|||||||
StringBuilder buf = new StringBuilder();
|
StringBuilder buf = new StringBuilder();
|
||||||
buf.append("[DataMessage: ");
|
buf.append("[DataMessage: ");
|
||||||
buf.append("\n\tData: ");
|
buf.append("\n\tData: ");
|
||||||
if (_data != null)
|
if (_data != null) {
|
||||||
buf.append(_data.length).append(" bytes: ").append(Base64.encode(_data));
|
buf.append(_data.length).append(" bytes");
|
||||||
else
|
if (_data.length <= 64)
|
||||||
|
buf.append(" : ").append(Base64.encode(_data));
|
||||||
|
} else {
|
||||||
buf.append("null");
|
buf.append("null");
|
||||||
|
}
|
||||||
buf.append("]");
|
buf.append("]");
|
||||||
return buf.toString();
|
return buf.toString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user