mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Added log categories for driver/plugin
This commit is contained in:
@@ -124,6 +124,20 @@ namespace BlackMisc
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! Driver
|
||||
static const CLogCategory &driver()
|
||||
{
|
||||
static const CLogCategory cat { "swift.driver" };
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! Plugin
|
||||
static const CLogCategory &plugin()
|
||||
{
|
||||
static const CLogCategory cat { "swift.plugin" };
|
||||
return cat;
|
||||
}
|
||||
|
||||
//! Background task
|
||||
static const CLogCategory &worker()
|
||||
{
|
||||
@@ -170,10 +184,12 @@ namespace BlackMisc
|
||||
context(),
|
||||
contextSlot(),
|
||||
download(),
|
||||
driver(),
|
||||
guiComponent(),
|
||||
mapping(),
|
||||
matching(),
|
||||
network(),
|
||||
plugin(),
|
||||
swiftDbWebservice(),
|
||||
services(),
|
||||
settings(),
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace BlackMisc
|
||||
{ "services", exactMatch(CLogCategory::services()) },
|
||||
{ "settings", exactMatch(CLogCategory::settings()) },
|
||||
{ "cache", exactMatch(CLogCategory::cache()) },
|
||||
{ "driver", exactMatch(CLogCategory::driver()) },
|
||||
{ "plugin", exactMatch(CLogCategory::plugin()) },
|
||||
{ "background task", exactMatch(CLogCategory::worker()) },
|
||||
{ "model mapping", exactMatch(CLogCategory::mapping()) },
|
||||
{ "model matching", exactMatch(CLogCategory::matching()) },
|
||||
|
||||
Reference in New Issue
Block a user