summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-06 15:58:20 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-06 15:58:20 +0000
commite2ef406c2271af43793c78ec2753b19850ceeeae (patch)
treeeae3d09030b954a71dd1f955cc7e2af04b32a53a /src/lib
parent1e366734d9b91982215245f546ef82522854f889 (diff)
Add log TYPE_DEBUG from 1.x.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/log.cc3
-rw-r--r--src/lib/log.h1
2 files changed, 3 insertions, 1 deletions
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);