Changeset 872

Show
Ignore:
Timestamp:
01/29/08 15:16:36
Author:
robert
Message:

Improved the positioning of time output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/vpb/BuildLog.cpp

    r871 r872  
    116116    _fout.open(filename.c_str()); 
    117117     
     118    _fout.setf(std::ios::left, std::ios::adjustfield); 
    118119    _fout.setf(std::ios::fixed, std::ios::floatfield); 
    119     _fout.setf(std::ios::showpoint); 
    120120    _fout.precision(3); 
    121121} 
     
    124124{ 
    125125    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 
    126     _fout<<message->time<<"\t: "<<message->message<<std::endl; 
     126    _fout<<std::setw(12)<<message->time<<" : "<<message->message<<std::endl; 
    127127     
    128128    if (_taskFile.valid())