refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage.

This commit is contained in:
Mathew Sutcliffe
2014-09-25 22:44:34 +01:00
parent 8ba1a37ea7
commit ce6cdf12a7
10 changed files with 447 additions and 158 deletions

View File

@@ -29,7 +29,7 @@ namespace BlackGui
this->m_columns.addColumn(CColumn("time", CStatusMessage::IndexTimestamp, new CDateTimeFormatter(CDateTimeFormatter::formatHms())));
this->m_columns.addColumn(CColumn("severity", CStatusMessage::IndexSeverity));
this->m_columns.addColumn(CColumn::standardString("message", CStatusMessage::IndexMessage));
this->m_columns.addColumn(CColumn::standardString("type", CStatusMessage::IndexTypeAsString));
this->m_columns.addColumn(CColumn::standardString("category", CStatusMessage::IndexCategory));
this->m_sortedColumn = CStatusMessage::IndexTimestamp;
this->m_sortOrder = Qt::DescendingOrder;