print but better

This commit is contained in:
dr7ana 2023-12-11 12:20:02 -08:00
parent 97fe3c6271
commit cd96497fd6

View File

@ -44,7 +44,7 @@ namespace llarp
{
oxenc::bt_dict_producer btdp;
btdp.append_encoded("local", oxen::quic::to_sv(local_rc.view()));
log::critical(logcat, "Serializing localRC: {}", buffer_printer{local_rc.view()});
log::critical(logcat, "Serializing localRC: {}", oxenc::to_hex(local_rc.view()));
btdp.append("quantity", quantity);
return std::move(btdp).str();
}