This commit is contained in:
CupWater
2026-08-17 10:02:18 +08:00
parent d54d2fcff5
commit c196ffb6d8
8 changed files with 29 additions and 30 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