Browse Source

Remove unused debug pnAcLog functions.

Darryl Pogue 10 years ago
parent
commit
89f76e5687
  1. 24
      Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.cpp
  2. 18
      Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.h

24
Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.cpp

@ -97,27 +97,3 @@ void LogMsgV (ELogSeverity severity, const wchar_t *format, va_list args) {
plStatusLog::AddLineS("OLD_ASYNC_LOG.log", to_log);
delete[] to_log;
}
//============================================================================
#ifdef HS_DEBUGGING
void LogMsgDebug (const char *format, ...) {
ASSERT(format);
va_list args;
va_start(args, format);
LogMsgV(kLogDebug, format, args);
va_end(args);
}
#endif
//============================================================================
#ifdef HS_DEBUGGING
void LogMsgDebug (const wchar_t *format, ...) {
ASSERT(format);
va_list args;
va_start(args, format);
LogMsgV(kLogDebug, format, args);
va_end(args);
}
#endif

18
Sources/Plasma/NucleusLib/pnAsyncCore/Private/pnAcLog.h

@ -80,21 +80,3 @@ void LogMsg (ELogSeverity severity, const char *format, ...);
void LogMsg (ELogSeverity severity, const wchar_t *format, ...);
void LogMsgV (ELogSeverity severity, const char *format, va_list args);
void LogMsgV (ELogSeverity severity, const wchar_t *format, va_list args);
/****************************************************************************
*
* Debugging API
*
***/
#ifdef HS_DEBUGGING
void LogMsgDebug (const char *format, ...);
void LogMsgDebug (const wchar_t *format, ...);
#else
inline void LogMsgDebug (const char *, ...) { }
inline void LogMsgDebug (const wchar_t *, ...) { }
#endif

Loading…
Cancel
Save