mirror of
https://github.com/edubart/otclient.git
synced 2025-12-17 06:07:11 +01:00
change logger
This commit is contained in:
@@ -45,7 +45,7 @@ bool ConfigManager::load(const std::string& file)
|
||||
m_confsDoc = confsDoc;
|
||||
return true;
|
||||
} catch(stdext::exception& e) {
|
||||
logError("Unable to load configuration file: %s", e.what());
|
||||
g_logger.error(stdext::format("Unable to load configuration file: %s", e.what()));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user