Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a way to the tesh syntax to log at CRITICAL level (to ease output grepping)
[simgrid.git] / tools / tesh / tesh.c
index 3d3c7a9..3ad2a76 100644 (file)
@@ -74,6 +74,9 @@ static void handle_line(const char * filepos, char *line) {
   case 'p':
     INFO2("[%s] %s",filepos,line+2);
     break;
+  case 'P':
+    CRITICAL2("[%s] %s",filepos,line+2);
+    break;
 
   default:
     ERROR2("[%s] Syntax error: %s",filepos, line);