From 7fea821c7ebcdcfd7746d2cef86f21061cf5e64d Mon Sep 17 00:00:00 2001 From: HJfod <60038575+HJfod@users.noreply.github.com> Date: Mon, 10 Oct 2022 21:00:32 +0300 Subject: [PATCH] fix log filenames --- CMakeLists.txt | 2 +- loader/src/load/Log.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f09b31d7f..d595771ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/loader/src/load/Log.cpp b/loader/src/load/Log.cpp index e770a2512..f917b6bbf 100644 --- a/loader/src/load/Log.cpp +++ b/loader/src/load/Log.cpp @@ -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* components, size_t componentsSize) {