#ifndef LOG_EASYLOGGING_H #define LOG_EASYLOGGING_H #include "ILog.h" #include "Log.h" class LogEasylogging : public ILog { public: LogEasylogging(const LogSetting *setting); virtual ~LogEasylogging() = default; bool Init() override; bool UnInit() override; bool IsWorking() override; int Log(const char *buff) override; int InFo(const char *buff) override; int Warning(const char *buff) override; int Error(const char *buff) override; int Trace(const char *buff) override; int Debug(const char *buff) override; private: std::string mFileName; // File name of saving log. std::string mMaxSize; // Max size of saving log. }; #endif