Skip to content

Commit

Permalink
minor change in Report
Browse files Browse the repository at this point in the history
issue #30
  • Loading branch information
Valentin Noel committed Dec 10, 2013
1 parent fa7216b commit c1424cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libraries/ReportGenerator/src/ReportGenerator/Report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ void Report::print( const ShPtrElement element )
{
case eStatusValid : color = common::details::kColorGreen; break;
case eStatusInvalid : color = common::details::kColorRed; break;
case eStatusUnknown : color = common::details::kColorCyan; break;
default: return;
}

Expand All @@ -110,10 +111,10 @@ void Report::print( const ShPtrElement element )
LOG( ".t: " << std::setfill( ' ' ) << std::setw( 12 ) << typeStringMap.at( element->_type ) << " " );

if( _verbosity >= eReportDisplaySize )
LOG( ".s: " << std::setfill( ' ' ) << std::setw( 16 ) << element->_data.size() << " " );
LOG( ".s: " << std::setfill( ' ' ) << std::setw( 12 ) << element->_data.size() << " " );

if( _verbosity >= eReportDisplayAddress )
LOG( ".@: " << std::setfill( ' ' ) << std::setw( 16 ) << element << " " );
LOG( ".@: " << std::setfill( ' ' ) << std::setw( 9 ) << element << " " );

if( _verbosity >= eReportDisplayID )
{
Expand Down Expand Up @@ -184,6 +185,7 @@ bool Report::isPrintable( const ShPtrElement element )
bool ret = false;
switch( element->_status )
{
case eStatusUnknown :
case eStatusValid :
case eStatusInvalid : ret = true;
default: break;
Expand Down

0 comments on commit c1424cd

Please sign in to comment.