1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-13 01:05:36 +00:00

cleaner output

This commit is contained in:
Antonin Portelli 2016-04-16 08:41:53 +01:00
parent 9ee54e0db7
commit e33b0f6ff7

View File

@ -69,8 +69,8 @@ public:
StopWatch.Stop(); StopWatch.Stop();
GridTime now = StopWatch.Elapsed(); GridTime now = StopWatch.Elapsed();
StopWatch.Start(); StopWatch.Start();
stream << BLACK<< log.topName << BLACK<< " : "; stream << BLACK <<std::setw(10) << std::left << log.topName << BLACK<< " : ";
stream << log.COLOUR <<std::setw(10) << std::left << log.name << BLACK << " : "; stream << log.COLOUR <<std::setw(10) << log.name << BLACK << " : ";
stream << YELLOW<< now <<BLACK << " : " ; stream << YELLOW<< now <<BLACK << " : " ;
stream << log.COLOUR; stream << log.COLOUR;
return stream; return stream;