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/StackBatch.c

    r31033 r31036  
    386386    this->base.print(&this->base);
    387387
    388     printf("* skycell ID      : %d\n", this->skycellId);
    389     printf("\n");
     388    this->base.logger->print(this->base.logger, MSG_INFO, "StackBatch", "skycell ID      : %d\n", this->skycellId);
     389    this->base.logger->print(this->base.logger, MSG_INFO, "StackBatch", "\n");
    390390}
    391391
     
    454454    parseArguments(this, *argc, argv);
    455455
     456    this->print(this);
     457
    456458    return this;
    457459}
     
    464466//    ippToPsps_VersionPrint();
    465467
    466     int exitCode;
    467 
    468     Logger* logger = new_Logger(NULL);
     468    Logger* logger = new_Logger(NULL, false);
    469469    logger->print(logger, MSG_INFO, "main", "Creating new stack batch\n");
    470470
    471471    StackBatch* stackBatch = new_StackBatch(logger, &argc, argv);
    472472    stackBatch->base.run(stackBatch);
    473     exitCode = stackBatch->base.exitCode;
     473    int exitCode = stackBatch->base.exitCode;
    474474
    475475    stackBatch->destroy(stackBatch);
Note: See TracChangeset for help on using the changeset viewer.