SHA256
20 lines
342 B
C++
20 lines
342 B
C++
#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 |