Got a very basic logger up and working. Can be used with the Q[LEVEL]
macros. Still needs some work to add coloring to the console and to be
able to write logs out to files.
This commit is contained in:
2024-02-10 09:50:02 -05:00
parent abbceb3443
commit 16e45e4675
4 changed files with 86 additions and 1 deletions

View File

@@ -6,7 +6,8 @@ set(quantum-src "./quantum/src/")
set(test_stuff-src "./test_stuff/src/")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_library(quantum SHARED ${quantum-src}memory/zone.c)
add_library(quantum SHARED ${quantum-src}memory/zone.c
${quantum-src}logger/logger.c)
add_executable(test_stuff ${test_stuff-src}main.c)
target_link_libraries(test_stuff quantum)