This commit is contained in:
CupWater
2026-08-17 11:31:12 +08:00
parent c196ffb6d8
commit e99541c139
9 changed files with 51 additions and 19 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef FEATHERLOG_LOG_MESSAGE_HPP
#define FEATHERLOG_LOG_MESSAGE_HPP
#include <chrono>
#include <string_view>
#include "log_level.hpp"
namespace flog
{
struct LogMessage {
std::chrono::system_clock::time_point timestamp;
LogLevel level;
std::string_view logger_name;
std::string text;
};
}
#endif