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

Public Member Functions

 _write ($event)
 Write a message to the log.
 
 shutdown ()
 Record shutdown.
 
- Public Member Functions inherited from Zend_Log_Writer_Abstract
 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.
 

Static Public Member Functions

static factory ($config)
 Create a new instance of Zend_Log_Writer_Mock.
 

Public Attributes

 $events = array()
 
 $shutdown = false
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Log_Writer_Abstract
 _write ($event)
 Write a message to the log.
 
- Static Protected Member Functions inherited from Zend_Log_Writer_Abstract
static _parseConfig ($config)
 Validate and optionally convert the config to array.
 
- Protected Attributes inherited from Zend_Log_Writer_Abstract
 $_filters = array()
 
 $_formatter
 

Member Function Documentation

_write (   $event)

Write a message to the log.

Parameters
array$eventevent data
Returns
void
static factory (   $config)
static

Create a new instance of Zend_Log_Writer_Mock.

Parameters
array | Zend_Config$config
Returns
Zend_Log_Writer_Mock

Implements Zend_Log_FactoryInterface.

shutdown ( )

Record shutdown.

Returns
void

Member Data Documentation

$events = array()
$shutdown = false