Changeset 13296 for trunk/FACT++
- Timestamp:
- 04/03/12 09:40:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r13204 r13296 407 407 int DataLogger::Write(const Time&time, const std::string& txt, int qos) 408 408 { 409 ostringstream ss; 410 ss << "datalogger: " << txt; 409 411 if (fNightlyLogFile.is_open()) 410 412 { 411 413 MessageImp mimp(fNightlyLogFile); 412 mimp.Write(time, txt, qos);414 mimp.Write(time, ss.str(), qos); 413 415 } 414 416 else if (shouldBackLog) … … 416 418 ostringstream str; 417 419 MessageImp mimp(str); 418 mimp.Write(time, txt, qos);420 mimp.Write(time, ss.str(), qos); 419 421 backLogBuffer.push_back(str.str()); 420 422 } 421 return StateMachineDim::Write(time, txt, qos);423 return StateMachineDim::Write(time, ss.str(), qos); 422 424 } 423 425 // --------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.