mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #883, new log categories
This commit is contained in:
committed by
Mathew Sutcliffe
parent
d980f99300
commit
4ef64e4e22
@@ -159,6 +159,27 @@ namespace BlackMisc
|
||||
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
|
||||
static const CLogCategory &vatsimSpecific()
|
||||
{
|
||||
@@ -191,6 +212,9 @@ namespace BlackMisc
|
||||
network(),
|
||||
plugin(),
|
||||
swiftDbWebservice(),
|
||||
swiftCore(),
|
||||
swiftDataTool(),
|
||||
swiftPilotClient(),
|
||||
services(),
|
||||
settings(),
|
||||
startup(),
|
||||
|
||||
@@ -44,6 +44,10 @@ namespace BlackMisc
|
||||
{ "webservice related", exactMatch(CLogCategory::webservice()) },
|
||||
{ "startup phase", exactMatch(CLogCategory::startup()) },
|
||||
{ "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.") },
|
||||
{ "uncategorized (default)", exactMatch("default") },
|
||||
{ "uncategorized (none)", empty() }
|
||||
|
||||
Reference in New Issue
Block a user