Closed (fixed)
Project:
Svg Image
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Oct 2018 at 09:16 UTC
Updated:
13 Nov 2018 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
svenryen commentedHere's the patch :)
Comment #3
imyaro commentedComment #5
imyaro commentedHello,
Nice catch!
But it will be better to use there LoggerChannelInterface instead of the LoggerInterface.
Committed fix
Comment #6
pdenooijer commentedSorry, but changing to the LoggerChannelInterface still will break external loggers that only use the PSR LoggerInterface. So why change it to the LoggerChannelInterface and remove this option? Further more I don't see the pro's of including the LoggerChannelInterace, all the newly added methods are just for internal use. The LoggerInterface has all the methods you need anyway, seeing your only use the `error` message anyway.
https://en.wikipedia.org/wiki/Interface_segregation_principle
Please change it to the requested LoggerInterface.
Comment #7
pdenooijer commentedComment #8
imyaro commented@pdenooijer you are right.
Changed to the LoggerInterface. Please check the dev branch.
Comment #9
pdenooijer commentedThanks, then I can remove the patch!