diff --git a/src/blackmisc/logcategory.h b/src/blackmisc/logcategory.h index 99e4f19e8..99e784afb 100644 --- a/src/blackmisc/logcategory.h +++ b/src/blackmisc/logcategory.h @@ -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) diff --git a/src/blackmisc/logpattern.cpp b/src/blackmisc/logpattern.cpp index 5b49348d0..5aca378af 100644 --- a/src/blackmisc/logpattern.cpp +++ b/src/blackmisc/logpattern.cpp @@ -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()) },