Add support for building engine without logging

This commit is contained in:
Wojtek Figat
2025-05-28 04:05:12 +02:00
parent ab61ed5a37
commit 03d52d4eb9
15 changed files with 76 additions and 21 deletions

View File

@@ -4,6 +4,8 @@
Log::Exception::~Exception()
{
#if LOG_ENABLE
// Always write exception to the log
Logger::Write(_level, ToString());
#endif
}