Changeset 31036 for trunk/ippToPsps/src/Batch.c
- Timestamp:
- Mar 24, 2011, 1:21:35 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/Batch.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/Batch.c
r31033 r31036 113 113 while (fgets(line, 1000, file) != NULL) this->numOfInputFiles++; 114 114 115 this->logger->print(this->logger, MSG_INFO, "Batch", "%d input files found\n", this->numOfInputFiles); 115 this->logger->print(this->logger, MSG_INFO, "Batch", 116 "%d input file%s found\n", this->numOfInputFiles, (this->numOfInputFiles > 1) ? "s" : ""); 116 117 117 118 if (this->numOfInputFiles < 1) return false; … … 256 257 static void print(Batch* this) { 257 258 258 printf("\n"); 259 printf("* surveyType : '%s'\n", this->surveyType); 260 printf("* surveyID : %d\n", this->surveyID); 261 printf("* resultsPath : '%s'\n", this->resultsPath); 262 printf("* numOfInputFiles : %d\n", this->numOfInputFiles); 263 printf("* fitsInPath : '%s'\n", this->fitsInPath); 259 this->logger->print(this->logger, MSG_INFO, "Batch", "\n"); 260 this->logger->print(this->logger, MSG_INFO, "Batch", " Class fields:\n"); 261 this->logger->print(this->logger, MSG_INFO, "Batch", "surveyType : %s\n", this->surveyType); 262 this->logger->print(this->logger, MSG_INFO, "Batch", "surveyID : %d\n", this->surveyID); 263 this->logger->print(this->logger, MSG_INFO, "Batch", "resultsPath : %s\n", this->resultsPath); 264 this->logger->print(this->logger, MSG_INFO, "Batch", "numOfInputFiles : %d\n", this->numOfInputFiles); 265 this->logger->print(this->logger, MSG_INFO, "Batch", "fitsInPath : %s\n", this->fitsInPath); 266 this->logger->print(this->logger, MSG_INFO, "Batch", "testMode : %s\n", this->testMode ? "yes" : "no"); 264 267 } 265 268
Note:
See TracChangeset
for help on using the changeset viewer.
