refs #883, new log categories

This commit is contained in:
Klaus Basan
2017-02-19 02:35:54 +01:00
committed by Mathew Sutcliffe
parent d980f99300
commit 4ef64e4e22
2 changed files with 28 additions and 0 deletions

View File

@@ -159,6 +159,27 @@ namespace BlackMisc
return cat; return cat;
} }
//! swift GUI
static const CLogCategory &swiftPilotClient()
{
static const CLogCategory cat { "SwiftGuiStd" };
return cat;
}
//! swift data tool (aka mapping tool)
static const CLogCategory &swiftDataTool()
{
static const CLogCategory cat { "CSwiftData" };
return cat;
}
//! swift core
static const CLogCategory &swiftCore()
{
static const CLogCategory cat { "CSwiftCore" };
return cat;
}
//! VATSIM specific //! VATSIM specific
static const CLogCategory &vatsimSpecific() static const CLogCategory &vatsimSpecific()
{ {
@@ -191,6 +212,9 @@ namespace BlackMisc
network(), network(),
plugin(), plugin(),
swiftDbWebservice(), swiftDbWebservice(),
swiftCore(),
swiftDataTool(),
swiftPilotClient(),
services(), services(),
settings(), settings(),
startup(), startup(),

View File

@@ -44,6 +44,10 @@ namespace BlackMisc
{ "webservice related", exactMatch(CLogCategory::webservice()) }, { "webservice related", exactMatch(CLogCategory::webservice()) },
{ "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 data tool", exactMatch(CLogCategory::swiftDataTool()) },
{ "swift pilot client", exactMatch(CLogCategory::swiftPilotClient()) },
{ "Qt library", startsWith("qt.") }, { "Qt library", startsWith("qt.") },
{ "uncategorized (default)", exactMatch("default") }, { "uncategorized (default)", exactMatch("default") },
{ "uncategorized (none)", empty() } { "uncategorized (none)", empty() }