feat: log action

This commit is contained in:
qcloud
2023-05-22 23:14:17 +08:00
parent 9871cd34c4
commit 32da0c07c9
4 changed files with 16 additions and 15 deletions

View File

@@ -643,7 +643,7 @@ void Engine::LogAction(char const* format, ...)
if (sPlayerbotAIConfig->logInGroupOnly && !bot->GetGroup())
return;
LOG_INFO("playerbots", "{} {}", bot->GetName().c_str(), buf);
LOG_INFO("playerbots", "{} {} {} {}", bot->GetName().c_str(), buf, sPlayerbotAIConfig->logInGroupOnly, bot->GetGroup()->GetGroupType());
}
}