12 files changed
+286
-15
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#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
|
||||
Reference in new issue
Block a user