16 lines
288 B
C++
16 lines
288 B
C++
#pragma once
|
|
#include <Logging/Level.hpp>
|
|
#include <chrono>
|
|
#include <string>
|
|
|
|
namespace vl::logging {
|
|
|
|
struct Message {
|
|
std::chrono::system_clock::time_point ts{};
|
|
Level level{Level::Info};
|
|
std::string prefix; // e.g. "[DB]"
|
|
std::string text;
|
|
};
|
|
|
|
} // namespace vl::log
|