Add support for building engine without logging
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
Log::Exception::~Exception()
|
||||
{
|
||||
#if LOG_ENABLE
|
||||
// Always write exception to the log
|
||||
Logger::Write(_level, ToString());
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user