feat: add logger feature to log on function entry and exit (#1924)

* feat: add logger feature to log on function entry and exit

* i didnt save the file
This commit is contained in:
David Markowitz
2025-10-25 12:53:49 -07:00
committed by GitHub
parent 6e545eb1b9
commit 396dcb0465
4 changed files with 31 additions and 0 deletions

View File

@@ -10,7 +10,9 @@ void AndBehavior::Handle(BehaviorContext* context, RakNet::BitStream& bitStream,
}
void AndBehavior::Calculate(BehaviorContext* context, RakNet::BitStream& bitStream, const BehaviorBranchContext branch) {
LOG_ENTRY;
for (auto* behavior : this->m_behaviors) {
LOG("%i calculating %i", m_behaviorId, behavior->GetBehaviorID());
behavior->Calculate(context, bitStream, branch);
}
}