]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/log.h
Split log level DEBUG1 into DEBUG1 and DEBUG2.
[tlsproxy/tlsproxy.git] / src / log.h
index 42417fc7fed75fdd84e34838835f4b27b13b7f00..4122e88683b7942501adc30b1672a0add7d46709 100644 (file)
--- a/src/log.h
+++ b/src/log.h
 /* Log constants to be used with LOG() and LOG_PERROR() macros. */
 #define ERROR   LOG_ERROR_LEVEL,   __FILE__, __LINE__
 #define WARNING LOG_WARNING_LEVEL, __FILE__, __LINE__
-#define DEBUG   LOG_DEBUG_LEVEL,   __FILE__, __LINE__
+#define DEBUG1  LOG_DEBUG1_LEVEL,  __FILE__, __LINE__
+#define DEBUG2  LOG_DEBUG2_LEVEL,  __FILE__, __LINE__
 
 /* Log level constants. */
 #define LOG_ERROR_LEVEL   0
 #define LOG_WARNING_LEVEL 1
-#define LOG_DEBUG_LEVEL   2
+#define LOG_DEBUG1_LEVEL  2
+#define LOG_DEBUG2_LEVEL  3
 
 /* Call log_message() and print current file and line number. */
 #define LOG \