fix log filenames

This commit is contained in:
HJfod 2022-10-10 21:00:32 +03:00
parent 25b481e9db
commit 7fea821c7e
2 changed files with 2 additions and 2 deletions
CMakeLists.txt
loader/src/load

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
set(BUILD_SHARED_LIBS OFF FORCE CACHE BOOL "Build libraries static")
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build libraries static" FORCE)
set(GEODE_VERSION 0.4.1)
project(geode-sdk VERSION ${GEODE_VERSION} LANGUAGES CXX C)

View file

@ -113,7 +113,7 @@ void Log::pushToLoader() {
}
std::string geode::log::generateLogName() {
return fmt::format("Geode_{:%H.%M.%S}.log", log_clock::now());
return fmt::format("Geode {:%d %b %H.%M.%S}.log", log_clock::now());
}
void geode::log::vlogImpl(Severity severity, Mod* mod, std::string_view formatStr, std::function<void(Log&)>* components, size_t componentsSize) {