#pragma once #include namespace ix { class IXCoreLogger { public: using LogFunc = std::function; static void Log(const char* msg); static void setLogFunction(LogFunc& func) { _currentLogger = func; } private: static LogFunc _currentLogger; }; } // namespace ix