Ignore:
Timestamp:
10/10/12 14:29:17 (12 years ago)
Author:
Malte Marquarding
Message:

Ticket #199: Excised Logger::pushLog; now everything is using LogIO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFiller.cpp

    r2657 r2658  
    138138  // Get basic parameters.
    139139  if ( anyEQ(haveXPol_, True) ) {
    140     pushLog("Cross polarization present");
    141140    for (uInt i=0; i< npols.nelements();++i) {
    142141      if (npols[i] < 3) npols[i] += 2;// Convert Complex -> 2 Floats
     
    165164    throw(AipsError("Failed to get header."));
    166165  }
     166  LogIO os( casa::LogOrigin( "STFiller") );
     167 
    167168  if ((header_->obstype).matches("*SW*")) {
    168169    // need robust way here - probably read ahead of next timestamp
    169     pushLog("Header indicates frequency switched observation.\n"
    170                "setting # of IFs = 1 ");
     170    os << "Header indicates frequency switched observation.\n"
     171       << "setting # of IFs = 1 " << LogIO::POST;
    171172    nIF_ = 1;
    172173    header_->obstype = String("fswitch");
Note: See TracChangeset for help on using the changeset viewer.