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