Zend Framework  1.12
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Zend_Log_Writer_Abstract Class Reference

Public Member Functions

 addFilter ($filter)
 Add a filter specific to this writer.
 
 write ($event)
 Log a message to this writer.
 
 setFormatter (Zend_Log_Formatter_Interface $formatter)
 Set a new formatter for this writer.
 
 shutdown ()
 Perform shutdown activites such as closing open resources.
 

Protected Member Functions

 _write ($event)
 Write a message to the log.
 

Static Protected Member Functions

static _parseConfig ($config)
 Validate and optionally convert the config to array.
 

Protected Attributes

 $_filters = array()
 
 $_formatter
 

Additional Inherited Members

- Static Public Member Functions inherited from Zend_Log_FactoryInterface
static factory ($config)
 Construct a Zend_Log driver.
 

Member Function Documentation

static _parseConfig (   $config)
staticprotected

Validate and optionally convert the config to array.

Parameters
array | Zend_Config$configZend_Config or Array
Returns
array
Exceptions
Zend_Log_Exception
_write (   $event)
abstractprotected

Write a message to the log.

Parameters
array$eventlog data event
Returns
void
addFilter (   $filter)

Add a filter specific to this writer.

Parameters
Zend_Log_Filter_Interface$filter
Returns
Zend_Log_Writer_Abstract
See Also
Zend_Log_Exception
setFormatter ( Zend_Log_Formatter_Interface  $formatter)

Set a new formatter for this writer.

Parameters
Zend_Log_Formatter_Interface$formatter
Returns
Zend_Log_Writer_Abstract
shutdown ( )

Perform shutdown activites such as closing open resources.

Returns
void
write (   $event)

Log a message to this writer.

Parameters
array$eventlog data event
Returns
void

Member Data Documentation

$_filters = array()
protected
$_formatter
protected