Skip to end of metadata
Go to start of metadata

This example shows how to set up a logging feature in your application. You are able to control the level of logging.

Database initialisation

config.ini

MyPlugin_Logger class

Example usage

Labels:
zend_log zend_log Delete
zend_registry zend_registry Delete
log log Delete
registry registry Delete
plugin plugin Delete
example example Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Feb 22, 2011

    If a value to insert to the table is too large for a column, the wrong type or some other issue, then the log will fail to insert. There needs to be some way to add a Zend_Filter to a Zend_Log_Writer_Db to truncate or smash the data so it still succeeds.