Move worldserver logging ot use LogInfo

This commit is contained in:
Akkadius
2019-09-01 22:53:23 -05:00
parent 678c25e02c
commit be291d58b0
11 changed files with 194 additions and 196 deletions
+3 -3
View File
@@ -65,10 +65,10 @@ void LauncherList::Process() {
std::map<std::string, LauncherLink *>::iterator res;
res = m_launchers.find(name);
if (res != m_launchers.end()) {
Log(Logs::Detail, Logs::WorldServer, "Ghosting launcher %s", name.c_str());
LogInfo("Ghosting launcher [{}]", name.c_str());
delete res->second;
}
Log(Logs::Detail, Logs::WorldServer, "Removing pending launcher %d. Adding %s to active list.", l->GetID(), name.c_str());
LogInfo("Removing pending launcher [{}]. Adding [{}] to active list", l->GetID(), name.c_str());
//put the launcher in the list.
m_launchers[name] = l;
}
@@ -99,7 +99,7 @@ LauncherLink *LauncherList::FindByZone(const char *short_name) {
void LauncherList::Add(std::shared_ptr<EQ::Net::ServertalkServerConnection> conn) {
auto it = new LauncherLink(nextID++, conn);
Log(Logs::Detail, Logs::WorldServer, "Adding pending launcher %d", it->GetID());
LogInfo("Adding pending launcher [{}]", it->GetID());
m_pendingLaunchers.push_back(it);
}