mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-25 06:53:35 +00:00
Replaced cout with correct logger->log call
- Use of cout breaks the flow of the console
This commit is contained in:
parent
d7294bda55
commit
8c6ef98b22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user