Gems/EMotionFX/Code/MCore/Source/LogManager.cpp
void LogManager::RemoveLogCallback(size_t index)
    {
        MCORE_ASSERT(index < m_logCallbacks.size());
        LockGuard lock(m_mutex);

        // delete it from memory
        delete m_logCallbacks[index];

        // remove the callback from the stack
        m_logCallbacks.erase(AZStd::next(begin(m_logCallbacks), index));

        // collect the enabled log levels
        InitLogLevels();
    }
// remove a specific log callback from the stack
remove a specific log callback from the stack
remove a specific log callback from the stack
void LogManager::RemoveLogCallback(size_t index)
    {
        MCORE_ASSERT(index < m_logCallbacks.size());
        LockGuard lock(m_mutex);
        delete m_logCallbacks[index];
        m_logCallbacks.erase(AZStd::next(begin(m_logCallbacks), index));
        InitLogLevels();
    }
void LogManager :: RemoveLogCallback ( size_t index ) { MCORE_ASSERT ( index < m_logCallbacks . size ( ) ) ; LockGuard lock ( m_mutex ) ; delete m_logCallbacks [ index ] ; m_logCallbacks . erase ( AZStd :: next ( begin ( m_logCallbacks ) , index ) ) ; InitLogLevels ( ) ; }
remove a specific log callback from the stack
remove a specific log callback from the stack
// delete it from memory // remove the callback from the stack // collect the enabled log levels