modify something

This commit is contained in:
CupWater
2026-08-17 21:01:29 +08:00
parent 3274bf9393
commit 4fc7ef37c2
12 changed files with 133 additions and 47 deletions
+7 -5
View File
@@ -7,10 +7,12 @@
#include <featherlog/flog_definitions.h>
namespace flog {
class LoggerManager;
namespace flog
{
class LogManager;
class FLOG_API Logger {
class FLOG_API Logger final
{
friend class LogManager;
public:
@@ -25,8 +27,8 @@ namespace flog {
m_logManager(manager)
{ }
std::string m_name;
std::weak_ptr<LogManager> m_logManager;
const std::string m_name;
const std::weak_ptr<LogManager> m_logManager;
};
}