Log.category for FSD and minor style changes

This commit is contained in:
Klaus Basan
2019-12-31 13:49:29 +01:00
committed by Mat Sutcliffe
parent 0777d048c6
commit f8e8318902
6 changed files with 38 additions and 5 deletions

View File

@@ -31,6 +31,7 @@ namespace BlackMisc
{ "downloading data", exactMatch(CLogCategory::download()) },
{ "driver", exactMatch(CLogCategory::driver()) },
{ "flight plan", exactMatch(CLogCategory::flightPlan()) },
{ "FSD", exactMatch(CLogCategory::fsd()) },
{ "interpolator", exactMatch(CLogCategory::interpolator()) },
{ "JSON (conversion)", exactMatch(CLogCategory::json()) },
{ "model cache", exactMatch(CLogCategory::modelCache()) },
@@ -321,7 +322,7 @@ namespace BlackMisc
QString CLogPattern::convertToQString(bool i18n) const
{
Q_UNUSED(i18n);
Q_UNUSED(i18n)
QString strategy;
QString categories = m_strings.values().join("|"); // clazy:exclude=container-anti-pattern
switch (m_strategy)