Zend_Log_Writer_Db – Customising table columns

Zend offers different logging possibilities. I won’t present them all.

The basic of logging possibilities is Zend_Log_Writer_Db which logs in database. By default there are timestamp, message, priority andpriorityName entries. If you want to log your own entry that is you want some custom fields to be logged you have to deal with event array. To add a custom field use setEventItem() method


Leave a Reply

Your email address will not be published. Required fields are marked *

Please prove me that you are not spamer :) * Time limit is exhausted. Please reload CAPTCHA.