SHA256
24 lines
427 B
C++
24 lines
427 B
C++
#ifndef FEATHERLOG_LOG_MESSAGE_HPP
|
|
#define FEATHERLOG_LOG_MESSAGE_HPP
|
|
|
|
|
|
#include <chrono>
|
|
#include <string_view>
|
|
|
|
#include <featherlog/log_level.hpp>
|
|
#include <featherlog/log_message_flag.hpp>
|
|
|
|
namespace flog
|
|
{
|
|
struct LogMessage
|
|
{
|
|
std::chrono::system_clock::time_point timestamp;
|
|
std::string_view logger_name;
|
|
std::string text;
|
|
LogLevel level;
|
|
MessageFlag flag;
|
|
};
|
|
}
|
|
|
|
#endif
|