PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Writer Options

Zend_Log_Writer_Db Options

db

A Zend_Db_Adapter instance.

table

The name of the table in the RDBMS that will contain log entries.

columnMap

An associative array mapping database table column names to log event fields.

Zend_Log_Writer_Firebug Options

This log writer takes no options; any provided will be ignored.

Zend_Log_Writer_Mail Options

Table 115. Zend_Log_Writer_Mail Options

Option Data Type Default Value Description
mail String Zend_Mail An Zend_Mail instance
charset String iso-8859-1 Charset of the mail
from String or Array NULL Sender of the mail The parameters for Array type are :
  • email : address of sender

  • name : name of sender

to String or Array NULL Recipient(s) of the mail
cc String or Array NULL Carbon copy recipient(s) of the mail
bcc String or Array NULL Blind carbon copy recipient(s) of the mail
subject String NULL Subject of the mail
subjectPrependText String NULL A summary of number of errors per priority is appended to the subject of the mail
layout String NULL An Zend_Layout instance
layoutOptions Array NULL See the section the section called “Zend_Layout Configuration Options”
layoutFormatter String NULL An Zend_Log_Formatter_Interface instance

Zend_Log_Writer_Mock Options

This log writer takes no options; any provided will be ignored.

Zend_Log_Writer_Null Options

This log writer takes no options; any provided will be ignored.

Zend_Log_Writer_Stream Options

stream|url

A valid PHP stream identifier to which to log.

mode

The I/O mode with which to log; defaults to "a", for "append".

Zend_Log_Writer_Syslog Options

application

Application name used by the syslog writer.

facility

Facility used by the syslog writer.

Zend_Log_Writer_ZendMonitor Options

This log writer takes no options; any provided will be ignored.

Zend Framework