Patch - Adds macro for simplified logging - V14.5.28

Introduces a macro to streamline logging, enhancing code readability and maintainability.

The new macro replaces direct Logger calls with more concise and expressive `LOG_INFO`, `LOG_ERROR` etc. calls, reducing boilerplate code and improving consistency in logging practices across the engine.
This commit is contained in:
2025-10-09 16:58:48 +02:00
parent fe77100612
commit 7c5a6435bb
60 changed files with 653 additions and 521 deletions

View File

@@ -284,7 +284,7 @@ public:
if (!token.empty()) {
paths.emplace_back(token.begin(), token.end());
Logger::Get().Log("Loaded path: " + std::string(token.begin(), token.end()), __FILE__, __LINE__, Logger::LogLevel::Info);
LOG_INFO("Loaded path: " + std::string(token.begin(), token.end()));
}
}
return true;