Add ZLIB linking and file logging support

- Add ZLIB find_package and linking for addon compression
- Add file logging to logs/wowee.log
This commit is contained in:
Kelsi 2026-02-05 21:03:27 -08:00
parent d970385815
commit 5ecca080d5
3 changed files with 33 additions and 10 deletions

View file

@ -4,6 +4,7 @@
#include <iostream>
#include <sstream>
#include <mutex>
#include <fstream>
namespace wowee {
namespace core {
@ -63,6 +64,9 @@ private:
LogLevel minLevel = LogLevel::DEBUG;
std::mutex mutex;
std::ofstream fileStream;
bool fileReady = false;
void ensureFile();
};
// Convenience macros