From e2ef406c2271af43793c78ec2753b19850ceeeae Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 6 Jan 2015 15:58:20 +0000 Subject: [PATCH] Add log TYPE_DEBUG from 1.x. --- src/lib/log.cc | 3 ++- src/lib/log.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/log.cc b/src/lib/log.cc index a3466538e..e0ba3aaaa 100644 --- a/src/lib/log.cc +++ b/src/lib/log.cc @@ -35,7 +35,8 @@ using namespace std; int const Log::TYPE_GENERAL = 0x1; int const Log::TYPE_WARNING = 0x2; int const Log::TYPE_ERROR = 0x4; -int const Log::TYPE_TIMING = 0x8; +int const Log::TYPE_DEBUG = 0x8; +int const Log::TYPE_TIMING = 0x10; Log::Log () : _types (0) diff --git a/src/lib/log.h b/src/lib/log.h index 300df743b..f14adc26f 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -41,6 +41,7 @@ public: static const int TYPE_GENERAL; static const int TYPE_WARNING; static const int TYPE_ERROR; + static const int TYPE_DEBUG; static const int TYPE_TIMING; void log (std::string message, int type); -- 2.30.2