mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +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;
|
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(),
|
||||||
|
|||||||
@@ -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() }
|
||||||
|
|||||||
Reference in New Issue
Block a user