diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-02-25 20:24:36 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-02-25 20:24:36 +0000 |
commit | cc9a156387fc300b0086e85b370ea1ac599ef431 (patch) | |
tree | bf2f3590affa76d96d5992f8e9126e4174b78f76 /lib/common/Configuration.h | |
parent | d63936c2f7959d6fff995ec10c91e24266b8c5d7 (diff) |
Reduce verbosity of testcommon by hiding some log messages.
Diffstat (limited to 'lib/common/Configuration.h')
-rw-r--r-- | lib/common/Configuration.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/common/Configuration.h b/lib/common/Configuration.h index 4828b315..e6498e80 100644 --- a/lib/common/Configuration.h +++ b/lib/common/Configuration.h @@ -27,6 +27,14 @@ enum ConfigTest_IsBool = 32 }; +class ConfigurationCategory : public Log::Category +{ + public: + ConfigurationCategory(const std::string& name) + : Log::Category(std::string("Configuration/") + name) + { } +}; + class ConfigurationVerifyKey { public: @@ -75,6 +83,7 @@ public: const ConfigurationVerifyKey *mpKeys; int Tests; void *TestFunction; // set to zero for now, will implement later + static const ConfigurationCategory VERIFY_ERROR; }; class FdGetLine; |