diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-21 22:34:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-21 22:34:49 +0100 |
| commit | 2935d9d158cf35496a35107f9c4ab7d2929cf6c3 (patch) | |
| tree | ded31322feaf0279962127ab45e072b4bc3c1f72 /src/lib/server.cc | |
| parent | fc888176a978d11e9d5487d3afce33cdf92e1342 (diff) | |
Try to fix clashes caused by ERROR, WARNING etc. as variables.
Diffstat (limited to 'src/lib/server.cc')
| -rw-r--r-- | src/lib/server.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
