mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #702, new log category
This commit is contained in:
@@ -152,6 +152,13 @@ namespace BlackMisc
|
||||
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
|
||||
//! \note Human readable patterns are defined in CLogPattern::allHumanReadablePatterns
|
||||
static const QList<CLogCategory> &allSpecialCategories()
|
||||
@@ -166,6 +173,7 @@ namespace BlackMisc
|
||||
guiComponent(),
|
||||
mapping(),
|
||||
matching(),
|
||||
network(),
|
||||
swiftDbWebservice(),
|
||||
services(),
|
||||
settings(),
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace BlackMisc
|
||||
{ "background task", exactMatch(CLogCategory::worker()) },
|
||||
{ "model mapping", exactMatch(CLogCategory::mapping()) },
|
||||
{ "model matching", exactMatch(CLogCategory::matching()) },
|
||||
{ "network (flight)", exactMatch(CLogCategory::network()) },
|
||||
{ "swift contexts", exactMatch(CLogCategory::context()) },
|
||||
{ "swift context slots", exactMatch(CLogCategory::contextSlot()) },
|
||||
{ "swift GUI", exactMatch(CLogCategory::guiComponent()) },
|
||||
|
||||
Reference in New Issue
Block a user