IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2011, 1:21:35 PM (15 years ago)
Author:
rhenders
Message:

Improvements to logging

File:
1 edited

Legend:

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

    r31033 r31036  
    440440    this->base.print(&this->base);
    441441
    442     printf("* exp ID          : %d\n", this->expId);
    443     printf("* exp name        : '%s'\n",  this->expName ? this->expName : "undef");
    444     printf("\n");
     442    this->base.logger->print(this->base.logger, MSG_INFO, "DetectionBatch", "exp ID          : %d\n", this->expId);
     443    this->base.logger->print(this->base.logger, MSG_INFO, "DetectionBatch", "exp name        : %s\n",  this->expName ? this->expName : "undef");
     444    this->base.logger->print(this->base.logger, MSG_INFO, "DetectionBatch", "\n");
    445445}
    446446
     
    518518    parseArguments(this, *argc, argv);
    519519
     520    this->print(this);
     521
    520522    return this;
    521523}
     
    528530//    ippToPsps_VersionPrint();
    529531
    530     Logger* logger = new_Logger(NULL);
     532    Logger* logger = new_Logger(NULL, false);
     533//    Logger* logger = new_Logger("./detBatchLog.txt", false);
    531534    logger->print(logger, MSG_INFO, "main", "Creating new detection batch\n");
    532535
Note: See TracChangeset for help on using the changeset viewer.