mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Merge branch 'main' of https://github.com/altalk23/geode
This commit is contained in:
commit
0533c7a54a
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.21 FATAL_ERROR)
|
||||
|
||||
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)
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
There's nothing worse than having to read thousands of words just to see what some library's code actually looks like, so instead, here's a **Hello World** in Geode right off the bat:
|
||||
|
||||
```cpp
|
||||
#include <Geode.hpp>
|
||||
#include <Modify.hpp>
|
||||
#include <Geode/Geode.hpp>
|
||||
|
||||
USE_GEODE_NAMESPACE();
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue