#pragma once #include #include #include "spdlog/spdlog.h" #include "Logger.h" class CMitechGuiEventLog : public CLogger { public: CMitechGuiEventLog(const std::string& strName); ~CMitechGuiEventLog() final; private: void InitLogger(); // Inherited via CLogger void DoStart() override; void DoFlush() override; void DoLogging(const std::string& strMsg) override; std::shared_ptr m_logger; std::string m_strPathFilename{ R"(d:\machine\log\GuiEventLog.log)" }; };