Prevent re-initializing plugins on each next log entry
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3551985. -->
Reported by: [murz](https://www.drupal.org/user/157092)
Related to !8
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Now the module initializes a new plugin instance for each log entry from scratch. Seems we can optimize performance a bit by initializing it only once and putting it into the static cache.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Improve the plugin initialization flow by adding the static cache.</p>
issue