增加了log页面,但是没有后端
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include <fstream>
|
||||
#include <deque>
|
||||
#include "../LowerCommManager.h"
|
||||
#include "../PowerManger.h"
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <atomic>
|
||||
@@ -86,13 +85,6 @@ private:
|
||||
std::deque<std::string> m_logCache; // 缓存最近的日志
|
||||
static const size_t MAX_CACHE_SIZE = 1000; // 最大缓存条数
|
||||
|
||||
// Log monitoring
|
||||
std::string m_logPath;
|
||||
std::deque<std::string> m_logCache;
|
||||
std::mutex m_logMutex;
|
||||
std::vector<struct mg_connection*> m_logSubscribers;
|
||||
std::mutex m_subscriberMutex;
|
||||
std::atomic<off_t> m_lastLogSize;
|
||||
};
|
||||
|
||||
#endif // HTTP_SERVER_H
|
||||
Reference in New Issue
Block a user