Cosmetic change only.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2013-06-06 22:07:41 +00:00
parent 5d184d863a
commit fef4d10c7b

View File

@@ -67,16 +67,16 @@ public:
const char *format, VALIST va_list);
// ------------------------------------------------------------------------
/** A simple macro to define the various log functions. */
#define LOG(NAME, LEVEL) \
#define LOG(NAME, LEVEL) \
static void NAME(const char *component, const char *format, ...) \
{ \
if(LEVEL < m_min_log_level) return; \
va_list args; \
va_start(args, format); \
printMessage(LEVEL, component, format, args); \
va_end(args); \
\
if (LEVEL == LL_FATAL) exit(1); \
{ \
if(LEVEL < m_min_log_level) return; \
va_list args; \
va_start(args, format); \
printMessage(LEVEL, component, format, args); \
va_end(args); \
\
if (LEVEL == LL_FATAL) exit(1); \
}
LOG(verbose, LL_VERBOSE);
LOG(debug, LL_DEBUG);