mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
refs #489 Predefined log category changes.
This commit is contained in:
@@ -43,13 +43,6 @@ namespace BlackMisc
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! Settings updates
|
||||
static const CLogCategory &settingsUpdate()
|
||||
{
|
||||
static const CLogCategory cat { "swift.settings.update" };
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! Contexts
|
||||
static const CLogCategory &context()
|
||||
{
|
||||
@@ -71,6 +64,13 @@ namespace BlackMisc
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! Downloading
|
||||
static const CLogCategory &download()
|
||||
{
|
||||
static const CLogCategory cat { "swift.download" };
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! All predefined special categories
|
||||
static const QList<CLogCategory> &allSpecialCategories()
|
||||
{
|
||||
@@ -78,10 +78,10 @@ namespace BlackMisc
|
||||
{
|
||||
uncategorized(),
|
||||
validation(),
|
||||
settingsUpdate(),
|
||||
context(),
|
||||
contextSlot(),
|
||||
guiComponent()
|
||||
guiComponent(),
|
||||
download()
|
||||
};
|
||||
return cats;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user