Browse Source

Build 918 chunk 11: Unconditionally enable LogMsgDebug()

MarkD: This is used in the server code.
build918chunks^2
Christian Walther 11 years ago
parent
commit
0525163e56
  1. 8
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.cpp
  2. 14
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.h

8
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.cpp

@ -166,7 +166,7 @@ void LogMsgV (ELogSeverity severity, const wchar format[], va_list args) {
}
//============================================================================
#ifdef HS_DEBUGGING
//#ifdef HS_DEBUGGING
void LogMsgDebug (const char format[], ...) {
ASSERT(format);
@ -175,10 +175,10 @@ void LogMsgDebug (const char format[], ...) {
LogMsgV(kLogDebug, format, args);
va_end(args);
}
#endif
//#endif
//============================================================================
#ifdef HS_DEBUGGING
//#ifdef HS_DEBUGGING
void LogMsgDebug (const wchar format[], ...) {
ASSERT(format);
@ -187,4 +187,4 @@ void LogMsgDebug (const wchar format[], ...) {
LogMsgV(kLogDebug, format, args);
va_end(args);
}
#endif
//#endif

14
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.h

@ -114,14 +114,14 @@ void LogUnregisterHandler (FLogHandler callback);
*
***/
#ifdef HS_DEBUGGING
//#ifdef HS_DEBUGGING
void LogMsgDebug (const char format[], ...);
void LogMsgDebug (const wchar format[], ...);
#else
inline void LogMsgDebug (const char *, ...) { }
inline void LogMsgDebug (const wchar *, ...) { }
#endif
//#else
//
// inline void LogMsgDebug (const char *, ...) { }
// inline void LogMsgDebug (const wchar *, ...) { }
//
//#endif

Loading…
Cancel
Save