Permalink
Browse files

Allow debug information also in release version

  • Loading branch information...
1 parent 01752c3 commit 3ba15fcbf10800c5a6b456aede5d69a5020191be @alexp-sssup alexp-sssup committed May 18, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 logger.h
View
@@ -6,7 +6,6 @@
enum LOG_LEVEL { LOG_NO_INFO=0, LOG_ERROR=1, LOG_NOT_IMPLEMENTED=2,LOG_CALLS=3,LOG_TRACE=4};
-#ifndef NDEBUG
#define LOG(level,esp) \
{ \
if(level<=Log::getLevel()) \
@@ -15,9 +14,6 @@ enum LOG_LEVEL { LOG_NO_INFO=0, LOG_ERROR=1, LOG_NOT_IMPLEMENTED=2,LOG_CALLS=3,L
l() << esp << std::endl; \
} \
}
-#else
-#define LOG(level,esp) {}
-#endif
class Log
{

0 comments on commit 3ba15fc

Please sign in to comment.