Add log TYPE_DEBUG from 1.x.
authorCarl Hetherington <cth@carlh.net>
Tue, 6 Jan 2015 15:58:20 +0000 (15:58 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 6 Jan 2015 15:58:20 +0000 (15:58 +0000)
src/lib/log.cc
src/lib/log.h

index a3466538e8924a9880521ddc632f703127665745..e0ba3aaaaba87f9458c8cc365e12986dfde176ee 100644 (file)
@@ -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)
index 300df743b9c7f4f790eafc4e465b45a7a1dfffe7..f14adc26fd054034893c589941498b887700df42 100644 (file)
@@ -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);