Changeset 717 for trunk/src/SDWriter.cc


Ignore:
Timestamp:
11/17/05 14:37:54 (19 years ago)
Author:
mar637
Message:

implemented use of SDLog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDWriter.cc

    r701 r717  
    177177                               hdr.obstype, hdr.equinox, hdr.freqref,
    178178                               nChan, nPol, False, False)) {
    179     cerr << "Failed to create output file." << endl;
    180     return 1;
     179    throw(AipsError("Failed to create output file"));
    181180  }
    182181
     
    306305    }
    307306  }
    308 
    309   cout << "SDWriter: wrote " << count << " rows to " << filename << endl;
     307  ostringstream oss;
     308  oss << "SDWriter: wrote " << count << " rows to " << filename << endl;
     309  pushLog(String(oss));
    310310  cWriter->close();
    311311
Note: See TracChangeset for help on using the changeset viewer.