1234567891011121314151617181920 |
- #pragma once
- namespace DIOS::Dev::Detail::MachineryECOM
- {
- class CommunicationLogger
- {
- public:
- CommunicationLogger();
- ~CommunicationLogger();
- public:
- static CommunicationLogger *Instance();
- void Initialize(const std::string &workpath);
- SimpleLog *&Get(){ return m_logger; }
- private:
- static CommunicationLogger *m_instance;
- SimpleLog *m_logger;
- };
- }
|