yireo-training/magento2-example-observer

0.0.1 2018-12-07 11:15 UTC

This package is auto-updated.

Last update: 2024-04-24 14:57:56 UTC


README

Dummy module to show the behaviour of monitoring observable events using an observer. This observer simply logs pointless details from the request.

Installation

To install use the following composer command:

composer require yireo-training/magento2-example-observer:dev-master

Next enable the module:

bin/magento module:enable Yireo_ExampleObserver
bin/magento setup:upgrade

And flush the cache:

bin/magento cache:clean

Proof of concept

After installing the module, every frontend action should be logged to var/log/system.log.