Added log level to config

This commit is contained in:
2015-10-15 14:57:07 +02:00
parent 4182ba52b8
commit 4a031147a6
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -88,6 +88,8 @@ public:
Engine(int argc, char* argv[]) {
auto config = ResourceManager::Load<ConfigFile>("Config.ini");
LOG_LEVEL = static_cast<_LOG_LEVEL>(config->GetValue<int>("Debug.LogLevel", 1));
m_EventBroker = std::make_shared<EventBroker>();
m_Renderer = std::make_shared<Renderer>();