From b6bf8e607146202b82b7943147fc5a99d4c46a60 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 Sep 2017 19:58:07 +0300 Subject: Add option to set sdl logging level. Only for SDL2. --- src/progs/dyecmd/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/progs/dyecmd/client.cpp') diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index ccc8a51af..41bb7f3cb 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -188,6 +188,7 @@ void Client::gameInit() if (settings.options.test.empty()) ConfigManager::backupConfig("config.xml"); ConfigManager::initConfiguration(); + SDL::setLogLevel(config.getIntValue("sdlLogLevel")); setPathsDefaults(paths); initPaths(); logger->log("init 4"); -- cgit v1.2.3-70-g09d2