Shared on Mage Dispatch · 08 Oct 2024

How to log easily in Magento 2

As a seasoned Magento developer, you might find yourself missing the convenience of Mage::log() from Magento 1. This magical method was a go-to tool for quick debugging. But don’t worry! I’ve discovered a handy alternative for Magento 2 that might just do the trick.

Visit link → https://www.florianceprika.com/2024/10/07/how-to-log-easily-in-magento-2/

More like this

New here? This is Mage Dispatch

Mage Dispatch is a community-run archive and bi-weekly newsletter for the Magento, Adobe Commerce and Mage-OS ecosystem. Modules, articles, security advisories and tools, hand-picked by developers and shared so good work does not disappear into the void.

Browse the latest links → Explore by topic → Submit a link → About us →