This patch should have little or no effect with the standard build flags, but when compiling without NDEBUG or RELEASE_BUILD the logging is hard to untangle, and in some case, excessive to the point of a noticeable loss in performance. This patch adds a NX_DBG call for the really trivial messages, and should replace any noticeable calls to printf to the log callback.
This patch should have little or no effect with the standard build flags, but when compiling without NDEBUG or RELEASE_BUILD the logging is hard to untangle, and in some case, excessive to the point of a noticeable loss in performance. This patch adds a NX_DBG call for the really trivial messages, and should replace any noticeable calls to
printf
to the log callback.