From 2935d9d158cf35496a35107f9c4ab7d2929cf6c3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 May 2014 22:34:49 +0100 Subject: Try to fix clashes caused by ERROR, WARNING etc. as variables. --- src/lib/server.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/server.cc') diff --git a/src/lib/server.cc b/src/lib/server.cc index c4c98a4c9..6b4064cd7 100644 --- a/src/lib/server.cc +++ b/src/lib/server.cc @@ -41,10 +41,10 @@ #include "i18n.h" -#define LOG_GENERAL(...) _log->microsecond_log (String::compose (__VA_ARGS__), Log::GENERAL); -#define LOG_GENERAL_NC(...) _log->microsecond_log (__VA_ARGS__, Log::GENERAL); -#define LOG_ERROR(...) _log->microsecond_log (String::compose (__VA_ARGS__), Log::ERROR); -#define LOG_ERROR_NC(...) _log->microsecond_log (__VA_ARGS__, Log::ERROR); +#define LOG_GENERAL(...) _log->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL); +#define LOG_GENERAL_NC(...) _log->log (__VA_ARGS__, Log::TYPE_GENERAL); +#define LOG_ERROR(...) _log->log (String::compose (__VA_ARGS__), Log::TYPE_ERROR); +#define LOG_ERROR_NC(...) _log->log (__VA_ARGS__, Log::TYPE_ERROR); using std::string; using std::stringstream; -- cgit v1.2.3