Stop printing non-ASCII characters from GDB in debug logs

This commit is contained in:
Nav
2023-05-07 16:45:04 +01:00
parent adcca0079d
commit e2f202d5c9
3 changed files with 16 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ namespace Bloom::Services
static std::string asciiToUpper(std::string str);
static bool isAscii(const std::string& str);
static std::string replaceUnprintable(std::string str);
static std::string toHex(unsigned char value);
static std::string toHex(const std::vector<unsigned char>& data);