Cleanup Perl logging and streamline formatting, tie errors to main Quests logging category live output, add string utils

This commit is contained in:
Akkadius
2020-01-01 19:04:11 -06:00
parent 6e4d9a915d
commit 406b193206
5 changed files with 618 additions and 432 deletions
+3 -1
View File
@@ -84,7 +84,9 @@ public:
err.insert(err.end(), errors_.begin(), errors_.end());
}
virtual void AddError(std::string error) {
virtual void AddError(std::string error) {
LogQuests(error);
errors_.push_back(error);
if(errors_.size() > 30) {
errors_.pop_front();