Skip to main content
7 events
when toggle format what by license comment
Dec 14, 2020 at 7:43 comment added Ricardo Martins Just get the idea here, instead of modifying the core. In other words, create a before/after Plugin for the above method, inject your Logger, and be happy. :)
S Aug 28, 2017 at 10:21 history suggested Simon CC BY-SA 3.0
set the class name to the existing constant
Aug 28, 2017 at 9:59 review Suggested edits
S Aug 28, 2017 at 10:21
Nov 19, 2015 at 17:43 comment added nevvermind I'm talking about the ::class keyword instead of the literal string FQCN.
Nov 19, 2015 at 17:26 comment added MagePal Extensions @nevvermind .. I tried that before ... Fatal error: Non-static method Psr\Log\LoggerInterface::info() cannot be called statically. Please let me know if you figure out an easier way.
Nov 19, 2015 at 17:17 comment added nevvermind Use \Psr\Log\LoggerInterface::class please. Always.
Nov 19, 2015 at 16:29 history answered MagePal Extensions CC BY-SA 3.0