Problem/Motivation

Having the LogEntry save itself makes injection more complicated and requires additional classes for each logger.

Proposed resolution

Move save() to the plugin, properly inject dependencies.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Berdir created an issue. See original summary.

berdir’s picture

Status: Active » Needs review
StatusFileSize
new14.68 KB

This moves the save method, had to rename create() to createEntry() so that injection can use the create() method.

  • Berdir committed 9b5bbec on 8.x-2.x
    Issue #2731683 by Berdir: LogEntry::save() should move to LoggerPlugin
    
berdir’s picture

Status: Needs review » Fixed

And committed this as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.