Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/utility/include/file_utils.hpp

13 lines
269 B
C++
Raw Normal View History

#pragma once
#include <string>
#include <filesystem>
2021-05-12 09:05:56 -04:00
#include "path.hpp"
namespace prism::log {
2021-05-12 09:05:56 -04:00
inline void internal_format(std::string& msg, const prism::path& arg) {
auto pos = msg.find_first_of("{}");
msg.replace(pos, 2, arg.string());
}
}