Use DebugLog macro for debugging so that a Release build does not have log statements enabled which impact performance.