mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 19:25:49 +08:00
refs #702, new log category
This commit is contained in:
@@ -152,6 +152,13 @@ namespace BlackMisc
|
|||||||
return cat;
|
return cat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! Network specific, but not necessarily one specific flight network
|
||||||
|
static const CLogCategory &network()
|
||||||
|
{
|
||||||
|
static const CLogCategory cat { "swift.network" };
|
||||||
|
return cat;
|
||||||
|
}
|
||||||
|
|
||||||
//! All predefined special categories
|
//! All predefined special categories
|
||||||
//! \note Human readable patterns are defined in CLogPattern::allHumanReadablePatterns
|
//! \note Human readable patterns are defined in CLogPattern::allHumanReadablePatterns
|
||||||
static const QList<CLogCategory> &allSpecialCategories()
|
static const QList<CLogCategory> &allSpecialCategories()
|
||||||
@@ -166,6 +173,7 @@ namespace BlackMisc
|
|||||||
guiComponent(),
|
guiComponent(),
|
||||||
mapping(),
|
mapping(),
|
||||||
matching(),
|
matching(),
|
||||||
|
network(),
|
||||||
swiftDbWebservice(),
|
swiftDbWebservice(),
|
||||||
services(),
|
services(),
|
||||||
settings(),
|
settings(),
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ namespace BlackMisc
|
|||||||
{ "background task", exactMatch(CLogCategory::worker()) },
|
{ "background task", exactMatch(CLogCategory::worker()) },
|
||||||
{ "model mapping", exactMatch(CLogCategory::mapping()) },
|
{ "model mapping", exactMatch(CLogCategory::mapping()) },
|
||||||
{ "model matching", exactMatch(CLogCategory::matching()) },
|
{ "model matching", exactMatch(CLogCategory::matching()) },
|
||||||
|
{ "network (flight)", exactMatch(CLogCategory::network()) },
|
||||||
{ "swift contexts", exactMatch(CLogCategory::context()) },
|
{ "swift contexts", exactMatch(CLogCategory::context()) },
|
||||||
{ "swift context slots", exactMatch(CLogCategory::contextSlot()) },
|
{ "swift context slots", exactMatch(CLogCategory::contextSlot()) },
|
||||||
{ "swift GUI", exactMatch(CLogCategory::guiComponent()) },
|
{ "swift GUI", exactMatch(CLogCategory::guiComponent()) },
|
||||||
|
|||||||
Reference in New Issue
Block a user