IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2011, 11:03:32 AM (15 years ago)
Author:
rhenders
Message:

Changes to reflect those in Logger class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/src/Batch.c

    r31030 r31033  
    6363        if (this->exitCode != PS_EXIT_SUCCESS) {
    6464
    65             this->logger->print(this->logger, MSG_ERROR, "Batch: Failed, so deleting fits file\n");
     65            this->logger->print(this->logger, MSG_ERROR, "Batch", "Failed, so deleting fits file\n");
    6666            this->fitsOut->delete(this->fitsOut);
    6767        }
     
    105105    if (file == NULL) {
    106106
    107         this->logger->print(this->logger, MSG_ERROR, "Batch: Unable to open file at %s\n", this->fitsInPath);
     107        this->logger->print(this->logger, MSG_ERROR, "Batch", "Unable to open file at %s\n", this->fitsInPath);
    108108        return false;
    109109    }
     
    113113    while (fgets(line, 1000, file) != NULL) this->numOfInputFiles++;
    114114
    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", "%d input files found\n", this->numOfInputFiles);
    116116
    117117    if (this->numOfInputFiles < 1) return false;
     
    156156    if (!this->pmconfig) {
    157157
    158         this->logger->print(this->logger, MSG_ERROR, "Batch: Unable to read configuration\n");
     158        this->logger->print(this->logger, MSG_ERROR, "Batch", "Unable to read configuration\n");
    159159        this->exitCode = PS_EXIT_CONFIG_ERROR;
    160160        return false;
Note: See TracChangeset for help on using the changeset viewer.