Ref T219, added some log pattern

This commit is contained in:
Klaus Basan
2018-01-07 02:56:59 +01:00
parent ccd3dd5bb5
commit d073f711e3
2 changed files with 17 additions and 1 deletions

View File

@@ -68,6 +68,20 @@ namespace BlackMisc
return cat;
}
//! Interpolator
static const CLogCategory &interpolator()
{
static const CLogCategory cat { "swift.interpolator" };
return cat;
}
//! Flight plan
static const CLogCategory &flightPlan()
{
static const CLogCategory cat { "swift.flightplan" };
return cat;
}
//! Context slots
static const CLogCategory &contextSlot()
{
@@ -314,7 +328,7 @@ namespace BlackMisc
BLACK_METAMEMBER(string)
);
};
}
} // ns
Q_DECLARE_METATYPE(BlackMisc::CLogCategory)

View File

@@ -31,6 +31,8 @@ namespace BlackMisc
{ "data inconsistency", exactMatch(CLogCategory::dataInconsistency()) },
{ "downloading data", exactMatch(CLogCategory::download()) },
{ "driver", exactMatch(CLogCategory::driver()) },
{ "flight plan", exactMatch(CLogCategory::flightPlan()) },
{ "interpolator", exactMatch(CLogCategory::interpolator()) },
{ "model cache", exactMatch(CLogCategory::modelCache()) },
{ "model GUI", exactMatch(CLogCategory::modelGui()) },
{ "model loader", exactMatch(CLogCategory::modelLoader()) },