Changeset 17342 for trunk/FACT++/src
- Timestamp:
- 11/21/13 17:45:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r16885 r17342 202 202 /// ofstream for the NightlyLogfile 203 203 ofstream fNightlyLogFile; 204 /// Log stream to fNightlyLogFile 205 MessageImp fNightlyLogImp; 204 206 /// ofstream for the Nightly report file 205 207 ofstream fNightlyReportFile; … … 490 492 if (fNightlyLogFile.is_open()) 491 493 { 492 MessageImp mimp(fNightlyLogFile); 493 mimp.Write(time, ss.str(), qos); 494 fNightlyLogImp.Write(time, ss.str(), qos); 494 495 } 495 496 else if (shouldBackLog) … … 909 910 // 910 911 DataLogger::DataLogger(ostream &out) : StateMachineDim(out, "DATA_LOGGER"), 911 912 fNightlyLogImp(fNightlyLogFile), fFilesStats("DATA_LOGGER", *this) 912 913 { 913 914 shouldBackLog = true; … … 1530 1531 if (fNightlyLogFile.is_open()) 1531 1532 { 1532 MessageImp(fNightlyLogFile).Write(cTime, msg.str().c_str(), fQuality);1533 fNightlyLogImp.Write(cTime, msg.str().c_str(), fQuality); 1533 1534 if (!CheckForOfstreamError(fNightlyLogFile, true)) 1534 1535 return;
Note:
See TracChangeset
for help on using the changeset viewer.