Gems/EMotionFX/Code/MCore/Source/LogManager.cpp
void LogManager::ClearLogCallbacks()
    {
        LockGuard lock(m_mutex);

        // get rid of the callbacks
        for (auto* logCallback : m_logCallbacks)
        {
            delete logCallback;
        }

        m_logCallbacks.clear();

        // collect the enabled log levels
        InitLogLevels();
    }
// remove all log callbacks from the stack
remove all log callbacks from the stack
remove all log callbacks from the stack
void LogManager::ClearLogCallbacks()
    {
        LockGuard lock(m_mutex);
        for (auto* logCallback : m_logCallbacks)
        {
            delete logCallback;
        }
        m_logCallbacks.clear();
        InitLogLevels();
    }
void LogManager :: ClearLogCallbacks ( ) { LockGuard lock ( m_mutex ) ; for ( auto * logCallback : m_logCallbacks ) { delete logCallback ; } m_logCallbacks . clear ( ) ; InitLogLevels ( ) ; }
remove all log callbacks from the stack
remove all log callbacks from the stack
// get rid of the callbacks // collect the enabled log levels