Add engine fatal error types handling
Add general out-of-memory handling Add safety memory buffer for crash or out of memory handling Refactor Globals exit/error state to be in Engine class
This commit is contained in:
@@ -146,8 +146,10 @@ void Log::Logger::Write(const StringView& msg)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !BUILD_RELEASE
|
||||
// Send message to platform logging
|
||||
Platform::Log(msg);
|
||||
#endif
|
||||
|
||||
// Write message to log file
|
||||
constexpr int32 LogMaxWriteSize = 1 * 1024 * 1024; // 1GB
|
||||
|
||||
Reference in New Issue
Block a user