In Shopware 6, there is a plugin logger that allows your plugin to output logs to its own log file, separate from the default Shopware logs. This can be useful for debugging, auditing plugin-specific activity, or keeping logs organized. Here is where you learn how to use a custom logger that logs to a special file. Every log file will append the environment and the date, both set in the.env […]
