Files
faumaray 053d1b7168 Logger api
Signed-off-by: Faumaray <faumaray@gmail.com>
2025-10-19 23:00:07 +03:00

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