Make log more readable

This commit is contained in:
Tixx
2026-08-14 02:27:22 +02:00
parent 5efd264355
commit 5c39216c44
+2 -1
View File
@@ -201,7 +201,8 @@ void TNetwork::UDPServerMain() {
beammp_debugf("Invalid size for UDP value. IP: {} ID: {}, Size: {}", remote_client_ep.address().to_string(), ID, Data.size());
std::stringstream hexData;
for (auto c : Data) {
hexData << std::hex << std::setw(2) << std::setfill('0') << c;
hexData << std::hex << std::setw(2) << std::setfill('0') << static_cast<int>(c);
hexData << " ";
}
beammp_debug(hexData.str());
return false;