Refactor some of the database stuff for QueryServ for uniformity, should probably be done right later

This commit is contained in:
Akkadius
2015-01-20 04:30:27 -06:00
parent cdde408602
commit 1bbbb28218
7 changed files with 47 additions and 40 deletions
+4 -1
View File
@@ -265,8 +265,8 @@ void EQEmuLogSys::CloseFileLogs()
{
if (EQEmuLogSys::log_platform == EQEmuExePlatform::ExePlatformZone){
std::cout << "Closing down zone logs..." << std::endl;
process_log.close();
}
process_log.close();
}
void EQEmuLogSys::StartFileLogs(const std::string log_name)
@@ -276,4 +276,7 @@ void EQEmuLogSys::StartFileLogs(const std::string log_name)
EQEmuLogSys::MakeDirectory("logs/zone");
process_log.open(StringFormat("logs/zone/%s.txt", log_name.c_str()), std::ios_base::app | std::ios_base::out);
}
else{
}
}