From 88f9a4d04a38239652b902a36ea466a405ea296f Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 12 Apr 2017 04:35:12 +0200 Subject: [PATCH] Log. category for wizard added --- src/blackmisc/logcategory.h | 8 ++++++++ src/blackmisc/logpattern.cpp | 1 + 2 files changed, 9 insertions(+) diff --git a/src/blackmisc/logcategory.h b/src/blackmisc/logcategory.h index b4738effe..b829cc9af 100644 --- a/src/blackmisc/logcategory.h +++ b/src/blackmisc/logcategory.h @@ -166,6 +166,13 @@ namespace BlackMisc return cat; } + //! Wizard + static const CLogCategory &wizard() + { + static const CLogCategory cat { "swift.wizard" }; + return cat; + } + //! Background task static const CLogCategory &worker() { @@ -254,6 +261,7 @@ namespace BlackMisc vatsimSpecific(), verification(), webservice(), + wizard(), worker() }; return cats; diff --git a/src/blackmisc/logpattern.cpp b/src/blackmisc/logpattern.cpp index 67ca63630..92bd46a9d 100644 --- a/src/blackmisc/logpattern.cpp +++ b/src/blackmisc/logpattern.cpp @@ -32,6 +32,7 @@ namespace BlackMisc { "cache", exactMatch(CLogCategory::cache()) }, { "driver", exactMatch(CLogCategory::driver()) }, { "plugin", exactMatch(CLogCategory::plugin()) }, + { "wizard", exactMatch(CLogCategory::wizard()) }, { "background task", exactMatch(CLogCategory::worker()) }, { "model mapping", exactMatch(CLogCategory::mapping()) }, { "model matching", exactMatch(CLogCategory::matching()) },