Type
magento2-module
magento2-module
OSL-3.0
None
None
None
None
None
Dummy module to show the behaviour of monitoring observable events using an observer. This observer simply logs pointless details from the request.
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
After installing the module, every frontend action should be logged to var/log/system.log
.