#ifndef LOGGER_H_6E7B9594 #define LOGGER_H_6E7B9594 #include #ifndef WX_PRECOMP #include #endif #include #include class Logger : public wxLog { public: Logger(); void Flush() override; ~Logger(); protected: void DoLogText(const wxString& msg) override; private: std::ofstream logfile_; std::mutex file_mutex_; }; #endif /* end of include guard: LOGGER_H_6E7B9594 */