refs #485, changed to static preformatted as discussed (MS/KB) on slack

This commit is contained in:
Klaus Basan
2016-03-01 00:15:04 +01:00
committed by Mathew Sutcliffe
parent 55a0ab7b48
commit 30b5e5dade
8 changed files with 14 additions and 14 deletions

View File

@@ -76,7 +76,7 @@ namespace BlackCore
if (!m.isEmpty())
{
m.setCategories(getLogCategories());
CLogMessage(this).preformatted(m);
CLogMessage::preformatted(m);
}
// global setup
@@ -541,7 +541,7 @@ namespace BlackCore
void CApplication::severeStartupProblem(const CStatusMessage &message)
{
CLogMessage(this).preformatted(message);
CLogMessage::preformatted(message);
this->cmdLineErrorMessage(message.getMessage());
this->exit(EXIT_FAILURE);