mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Log.category for DBus server
This commit is contained in:
@@ -109,6 +109,12 @@ namespace BlackMisc
|
||||
return CDBusServer::isP2PConnection(connection) ? empty : CDBusServer::coreServiceName();
|
||||
}
|
||||
|
||||
const CLogCategoryList &CDBusServer::getLogCategories()
|
||||
{
|
||||
static const CLogCategoryList cats({ CLogCategory::dbus() });
|
||||
return cats;
|
||||
}
|
||||
|
||||
bool CDBusServer::isP2PAddress(const QString &address)
|
||||
{
|
||||
return modeOfAddress(address) == SERVERMODE_P2P;
|
||||
|
||||
Reference in New Issue
Block a user