Added with() and withValidation() methods in CLogCategoryList.

This commit is contained in:
Mat Sutcliffe
2019-03-02 18:23:52 +00:00
parent 1cb21f0a4b
commit a366ad8943
15 changed files with 30 additions and 21 deletions

View File

@@ -708,10 +708,10 @@ namespace BlackCore
const CLogCategoryList &CDatabaseReader::getLogCategories()
{
static const BlackMisc::CLogCategoryList cats
(
CThreadedReader::getLogCategories().join({ CLogCategory::swiftDbWebservice(), CLogCategory::webservice() })
);
static const CLogCategoryList cats = CThreadedReader::getLogCategories().with(
{
CLogCategory::swiftDbWebservice(), CLogCategory::webservice()
});
return cats;
}