mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T219, added some log pattern
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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()) },
|
||||
|
||||
Reference in New Issue
Block a user