Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The change Arnaud wanted so much: Big Star Eradication (plus some more, check the...
[simgrid.git] / src / xbt / error.c
index fa12a0a..9cf52d5 100644 (file)
@@ -34,3 +34,11 @@ const char *gras_error_name(gras_error_t errcode)  {
    }
 }
 
+GRAS_LOG_EXTERNAL_CATEGORY(gras);
+GRAS_LOG_DEFAULT_CATEGORY(gras);
+  
+void gras_die (const char *msg) {
+   CRITICAL1("%s",msg);
+   gras_abort();
+}
+