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

Public Member Functions

 __construct ()
 
 isEnabled ()
 Is logging to this writer enabled?
 
 write ($event)
 Log a message to this writer.
 
- 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_ZendMonitor.
 

Protected Member Functions

 _write ($event)
 Write a message to the log.
 
- Protected Member Functions inherited from Zend_Log_Writer_Abstract
 _write ($event)
 Write a message to the log.
 

Protected Attributes

 $_isEnabled = true
 
 $_isZendServer = false
 
- Protected Attributes inherited from Zend_Log_Writer_Abstract
 $_filters = array()
 
 $_formatter
 

Additional Inherited Members

- Static Protected Member Functions inherited from Zend_Log_Writer_Abstract
static _parseConfig ($config)
 Validate and optionally convert the config to array.
 

Constructor & Destructor Documentation

__construct ( )
Returns
void

Member Function Documentation

_write (   $event)
protected

Write a message to the log.

Parameters
array$eventlog data event
Returns
void
static factory (   $config)
static

Create a new instance of Zend_Log_Writer_ZendMonitor.

Parameters
array | Zend_Config$config
Returns
Zend_Log_Writer_ZendMonitor

Implements Zend_Log_FactoryInterface.

isEnabled ( )

Is logging to this writer enabled?

If the Zend Monitor extension is not enabled, this log writer will fail silently. You can query this method to determine if the log writer is enabled.

Returns
boolean
write (   $event)

Log a message to this writer.

Parameters
array$eventlog data event
Returns
void

Member Data Documentation

$_isEnabled = true
protected
$_isZendServer = false
protected