]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/log.h
Rename log level constants from LOG_* to just *.
[tlsproxy/tlsproxy.git] / src / log.h
index 54ce597fcdd6cadad936e8377dfbfcef2e82b746..42417fc7fed75fdd84e34838835f4b27b13b7f00 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -1,7 +1,7 @@
 /*
  * Log related functions/defines.
  *
- * Copyright (C) 2011  Simon Ruderich
+ * Copyright (C) 2011-2013  Simon Ruderich
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,9 +21,9 @@
 #define LOG_H
 
 /* Log constants to be used with LOG() and LOG_PERROR() macros. */
-#define LOG_ERROR   LOG_ERROR_LEVEL,   __FILE__, __LINE__
-#define LOG_WARNING LOG_WARNING_LEVEL, __FILE__, __LINE__
-#define LOG_DEBUG   LOG_DEBUG_LEVEL,   __FILE__, __LINE__
+#define ERROR   LOG_ERROR_LEVEL,   __FILE__, __LINE__
+#define WARNING LOG_WARNING_LEVEL, __FILE__, __LINE__
+#define DEBUG   LOG_DEBUG_LEVEL,   __FILE__, __LINE__
 
 /* Log level constants. */
 #define LOG_ERROR_LEVEL   0