jvandemo / zf2-event-logger
Zend Framework 2 Event Logger module
dev-master
2013-03-15 18:25 UTC
Requires
- php: >=5.3.3
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2025-01-04 16:15:46 UTC
README
Zend Framework 2 module that logs all events to the error_log.
Requirements
Installation
- Put the module in your the /vendor folder of your application
- Add Zf2EventLogger to the modules in your application.config.php
What does it do ?
This module logs every event that is triggered to the standard php log using the error_log command.
Sample output in error log
Event "render" was triggered on target "Zend\\Mvc\\Application", with parameters {"application":{},"request":{},"response":{},"router":{},"route-match":{},"__RESULT__":{}}
Event "renderer" was triggered on target "Zend\\View\\View", with parameters {"model":{},"renderer":null,"request":{},"response":{},"result":null}