SHA256
20 lines
361 B
C++
20 lines
361 B
C++
#pragma once
|
|
|
|
#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;
|
|
};
|
|
}
|