diff --git a/src/blackmisc/logcategory.h b/src/blackmisc/logcategory.h index b829cc9af..5777c98ae 100644 --- a/src/blackmisc/logcategory.h +++ b/src/blackmisc/logcategory.h @@ -180,6 +180,13 @@ namespace BlackMisc return cat; } + //! Data inconsistency + static const CLogCategory &dataInconsistency() + { + static const CLogCategory cat { "swift.datainconsistency" }; + return cat; + } + //! Startup of application static const CLogCategory &startup() { @@ -239,6 +246,7 @@ namespace BlackMisc cache(), context(), contextSlot(), + dataInconsistency(), download(), driver(), guiComponent(), diff --git a/src/blackmisc/logpattern.cpp b/src/blackmisc/logpattern.cpp index a7897ae58..e18ec6594 100644 --- a/src/blackmisc/logpattern.cpp +++ b/src/blackmisc/logpattern.cpp @@ -45,8 +45,9 @@ namespace BlackMisc { "swift context slots", exactMatch(CLogCategory::contextSlot()) }, { "swift GUI", exactMatch(CLogCategory::guiComponent()) }, { "downloading data", exactMatch(CLogCategory::download()) }, - { "VASTIM specific", exactMatch(CLogCategory::vatsimSpecific()) }, + { "VATSIM specific", exactMatch(CLogCategory::vatsimSpecific()) }, { "webservice related", exactMatch(CLogCategory::webservice()) }, + { "data inconsistency", exactMatch(CLogCategory::dataInconsistency()) }, { "startup phase", exactMatch(CLogCategory::startup()) }, { "swift DB webservice related", exactMatch(CLogCategory::swiftDbWebservice()) }, { "swift core", exactMatch(CLogCategory::swiftCore()) },