1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

iOS: don't create unused CConsoleHandler

This commit is contained in:
Andrey Filipenkov
2022-09-27 07:05:10 +03:00
parent 70c51e4370
commit 53ac61b52b
5 changed files with 17 additions and 1 deletions

View File

@@ -935,7 +935,9 @@ int main(int argc, char * argv[])
signal(SIGSEGV, handleLinuxSignal);
#endif
#ifndef VCMI_IOS
console = new CConsoleHandler();
#endif
CBasicLogConfigurator logConfig(VCMIDirs::get().userLogsPath() / "VCMI_Server_log.txt", console);
logConfig.configureDefault();
logGlobal->info(SERVER_NAME);