*/
#define XBT_HERE(...) XBT_LOG(xbt_log_priority_trace, "-- was here" __VA_ARGS__)
-XBT_PUBLIC(void) xbt_set_terminate();
-
SG_END_DECL()
#endif /* ! _XBT_LOG_H_ */
#include "simgrid_config.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
+#include "xbt/log.hpp"
#include "xbt/dynar.h"
#include "xbt/config.h"
/** @brief Initialize the xbt mechanisms. */
void xbt_init(int *argc, char **argv)
{
- xbt_set_terminate();
+ simgrid::xbt::installExceptionHandler();
if (xbt_initialized++) {
XBT_DEBUG("XBT was initialized %d times.", xbt_initialized);