mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Ref T219, added some log pattern
This commit is contained in:
@@ -68,6 +68,20 @@ namespace BlackMisc
|
|||||||
return cat;
|
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
|
//! Context slots
|
||||||
static const CLogCategory &contextSlot()
|
static const CLogCategory &contextSlot()
|
||||||
{
|
{
|
||||||
@@ -314,7 +328,7 @@ namespace BlackMisc
|
|||||||
BLACK_METAMEMBER(string)
|
BLACK_METAMEMBER(string)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
} // ns
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(BlackMisc::CLogCategory)
|
Q_DECLARE_METATYPE(BlackMisc::CLogCategory)
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ namespace BlackMisc
|
|||||||
{ "data inconsistency", exactMatch(CLogCategory::dataInconsistency()) },
|
{ "data inconsistency", exactMatch(CLogCategory::dataInconsistency()) },
|
||||||
{ "downloading data", exactMatch(CLogCategory::download()) },
|
{ "downloading data", exactMatch(CLogCategory::download()) },
|
||||||
{ "driver", exactMatch(CLogCategory::driver()) },
|
{ "driver", exactMatch(CLogCategory::driver()) },
|
||||||
|
{ "flight plan", exactMatch(CLogCategory::flightPlan()) },
|
||||||
|
{ "interpolator", exactMatch(CLogCategory::interpolator()) },
|
||||||
{ "model cache", exactMatch(CLogCategory::modelCache()) },
|
{ "model cache", exactMatch(CLogCategory::modelCache()) },
|
||||||
{ "model GUI", exactMatch(CLogCategory::modelGui()) },
|
{ "model GUI", exactMatch(CLogCategory::modelGui()) },
|
||||||
{ "model loader", exactMatch(CLogCategory::modelLoader()) },
|
{ "model loader", exactMatch(CLogCategory::modelLoader()) },
|
||||||
|
|||||||
Reference in New Issue
Block a user