Closed
Description
Based on some examination of the Magento 2 codebase, it looks like Magento 2 uses the virtual type
Psr\Log\LoggerInterface
Whenever it needs to grab a logger. This is good. However, it sounds like you can't use plugins on non-Magento classes.
If possible, it would be nice if the there was a universally used logger interface that was plugin-able. This would enable a lot of useful third party customizations/tooling. While Monologger is a great package, it's handler based approach is limited/complicated/creates-hard-to-resolve-issues for extension developers.
Metadata
Metadata
Assignees
Labels
No labels