Gems/EMotionFX/Code/MCore/Source/LogManager.cpp
void LogManager::AddLogCallback(LogCallback* callback)
    {
        MCORE_ASSERT(callback);
        LockGuard lock(m_mutex);

        // add the callback to the stack
        m_logCallbacks.emplace_back(callback);

        // collect the enabled log levels
        InitLogLevels();
    }
// add a log file callback instance
add a log file callback instance
add a log file callback instance
void LogManager::AddLogCallback(LogCallback* callback)
    {
        MCORE_ASSERT(callback);
        LockGuard lock(m_mutex);
        m_logCallbacks.emplace_back(callback);
        InitLogLevels();
    }
void LogManager :: AddLogCallback ( LogCallback * callback ) { MCORE_ASSERT ( callback ) ; LockGuard lock ( m_mutex ) ; m_logCallbacks . emplace_back ( callback ) ; InitLogLevels ( ) ; }
add a log file callback instance
add a log file callback instance
// add the callback to the stack // collect the enabled log levels