Ref T104, new log category

This commit is contained in:
Klaus Basan
2017-07-08 20:31:30 +02:00
committed by Mathew Sutcliffe
parent 7168f97b45
commit 4c5dca40d7
2 changed files with 10 additions and 1 deletions

View File

@@ -180,6 +180,13 @@ namespace BlackMisc
return cat; return cat;
} }
//! Data inconsistency
static const CLogCategory &dataInconsistency()
{
static const CLogCategory cat { "swift.datainconsistency" };
return cat;
}
//! Startup of application //! Startup of application
static const CLogCategory &startup() static const CLogCategory &startup()
{ {
@@ -239,6 +246,7 @@ namespace BlackMisc
cache(), cache(),
context(), context(),
contextSlot(), contextSlot(),
dataInconsistency(),
download(), download(),
driver(), driver(),
guiComponent(), guiComponent(),

View File

@@ -45,8 +45,9 @@ namespace BlackMisc
{ "swift context slots", exactMatch(CLogCategory::contextSlot()) }, { "swift context slots", exactMatch(CLogCategory::contextSlot()) },
{ "swift GUI", exactMatch(CLogCategory::guiComponent()) }, { "swift GUI", exactMatch(CLogCategory::guiComponent()) },
{ "downloading data", exactMatch(CLogCategory::download()) }, { "downloading data", exactMatch(CLogCategory::download()) },
{ "VASTIM specific", exactMatch(CLogCategory::vatsimSpecific()) }, { "VATSIM specific", exactMatch(CLogCategory::vatsimSpecific()) },
{ "webservice related", exactMatch(CLogCategory::webservice()) }, { "webservice related", exactMatch(CLogCategory::webservice()) },
{ "data inconsistency", exactMatch(CLogCategory::dataInconsistency()) },
{ "startup phase", exactMatch(CLogCategory::startup()) }, { "startup phase", exactMatch(CLogCategory::startup()) },
{ "swift DB webservice related", exactMatch(CLogCategory::swiftDbWebservice()) }, { "swift DB webservice related", exactMatch(CLogCategory::swiftDbWebservice()) },
{ "swift core", exactMatch(CLogCategory::swiftCore()) }, { "swift core", exactMatch(CLogCategory::swiftCore()) },