This commit is contained in:
CupWater
2026-08-17 11:29:05 +08:00
parent c196ffb6d8
commit 835c556a58
9 changed files with 43 additions and 9 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