29 return strprintf(
"EXCEPTION: %s \n%s \n%s in %s \n",
33 return strprintf(
"UNKNOWN EXCEPTION \n%s in %s \n",
40 LogPrintf(
"\n\n************************\n%s\n", message);
41 tfm::format(std::cerr,
"\n\n************************\n%s\n", message);
static std::string FormatException(const std::exception *pex, const char *pszThread)
void PrintExceptionContinue(const std::exception *pex, const char *pszThread)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...