mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
Added with() and withValidation() methods in CLogCategoryList.
This commit is contained in:
@@ -24,10 +24,10 @@ namespace BlackCore
|
||||
{
|
||||
const CLogCategoryList &CNetworkWatchdog::getLogCategories()
|
||||
{
|
||||
static const BlackMisc::CLogCategoryList cats
|
||||
(
|
||||
CContinuousWorker::getLogCategories().join({ CLogCategory::swiftDbWebservice(), CLogCategory::webservice(), CLogCategory::network() })
|
||||
);
|
||||
static const BlackMisc::CLogCategoryList cats = CContinuousWorker::getLogCategories().with(
|
||||
{
|
||||
CLogCategory::swiftDbWebservice(), CLogCategory::webservice(), CLogCategory::network()
|
||||
});
|
||||
return cats;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user