From 8c6ef98b227ee898f03ced7645b189e16ad65a33 Mon Sep 17 00:00:00 2001 From: cooltrain7 Date: Mon, 13 Dec 2021 01:29:38 +0000 Subject: [PATCH] Replaced cout with correct logger->log call - Use of cout breaks the flow of the console --- dDatabase/Database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dDatabase/Database.cpp b/dDatabase/Database.cpp index 23fed182..cdadbbaa 100644 --- a/dDatabase/Database.cpp +++ b/dDatabase/Database.cpp @@ -28,7 +28,7 @@ void Database::Connect(const string& host, const string& database, const string& void Database::Destroy() { if (!con) return; - cout << "Destroying MySQL connection!" << endl; + Game::logger->Log("Database", "Destroying MySQL connection!\n"); con->close(); delete con; } //Destroy