Commit ce0d8f84 authored by David Reid's avatar David Reid

Always post debug logs to log handlers.

parent eab1cc43
...@@ -12877,15 +12877,6 @@ MA_API ma_result ma_log_post(ma_log* pLog, ma_uint32 level, const char* pMessage ...@@ -12877,15 +12877,6 @@ MA_API ma_result ma_log_post(ma_log* pLog, ma_uint32 level, const char* pMessage
return MA_INVALID_ARGS; return MA_INVALID_ARGS;
} }
/* If it's a debug log, ignore it unless MA_DEBUG_OUTPUT is enabled. */
#if !defined(MA_DEBUG_OUTPUT)
{
if (level == MA_LOG_LEVEL_DEBUG) {
return MA_INVALID_ARGS; /* Don't post debug messages if debug output is disabled. */
}
}
#endif
ma_log_lock(pLog); ma_log_lock(pLog);
{ {
ma_uint32 iLog; ma_uint32 iLog;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment