log.addLogEntry can use the overwrite = true parameter to force an entry into the log even if it already exists
It also contains a fix to plugin performance logging. This was particularly problematic when the controller includes enough plugin to trigger a resize on the plugins_before_/plugins_after_ vectors since it would then access freed memory during logging.
This PR adds one feature:
log.addLogEntry
can use theoverwrite = true
parameter to force an entry into the log even if it already existsIt also contains a fix to plugin performance logging. This was particularly problematic when the controller includes enough plugin to trigger a resize on the
plugins_before_
/plugins_after_
vectors since it would then access freed memory during logging.