add std::filesystem::path logger

This commit is contained in:
2025-09-30 21:59:38 +03:00
parent fc247a5b83
commit c716126382
4 changed files with 8 additions and 9 deletions

View File

@@ -4,6 +4,7 @@
#include <map>
#include "hack/logger/logger.hpp"
#include "hack/patterns/ring_buffer.hpp"
#include "hack/utils/timestamp.hpp"
auto main(int argc, char *argv[]) -> int
{
@@ -68,10 +69,8 @@ auto main(int argc, char *argv[]) -> int
hack::log()(str.c_str());
hack::log()(str);
// HERE
// реализовать это ...
// std::filesystem::path p { "/test/file/path.txt" };
// hack::log()(p);
std::filesystem::path p { "/test/file/path.txt" };
hack::log()(p);
return 0;
}