30 "EXCEPTION: %s \n%s \n%s in %s \n",
typeid(*pex).name(),
pex->what(),
pszModule, thread_name);
33 "UNKNOWN EXCEPTION \n%s in %s \n",
pszModule, thread_name);
39 LogWarning(
"\n\n************************\n%s", message);
40 tfm::format(std::cerr,
"\n\n************************\n%s\n", message);
static std::string FormatException(const std::exception *pex, std::string_view thread_name)
void PrintExceptionContinue(const std::exception *pex, std::string_view thread_name)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.