category Zend
package Zend_Log
subpackage Writer
copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
version $Id$

 Methods

__construct()

__construct() 

Exceptions

\Zend_Log_Exception if Zend Monitor extension not present

Add a filter specific to this writer.

addFilter(\Zend_Log_Filter_Interface $filter) : void
Inherited

inherited_from \Zend_Log_Writer_Abstract::addFilter()

Parameters

Create a new instance of Zend_Log_Writer_ZendMonitor

factory(array | \Zend_Config $config) : \Zend_Log_Writer_Syslog

Parameters

$config

array\Zend_Config

Exceptions

\Zend_Log_Exception

Returns

Is logging to this writer enabled?

isEnabled() : bool

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

bool

Set a new formatter for this writer

setFormatter(\Zend_Log_Formatter_Interface $formatter) : void
Inherited

inherited_from \Zend_Log_Writer_Abstract::setFormatter()

Parameters

Perform shutdown activites such as closing open resources

shutdown() : void
Inherited

inherited_from \Zend_Log_Writer_Abstract::shutdown()

Log a message to this writer.

write(array $event) : void

Parameters

$event

array

log data event

Validate and optionally convert the config to array

_parseConfig(array | \Zend_Config $config) : array
Inherited

inherited_from \Zend_Log_Writer_Abstract::_parseConfig()

Parameters

$config

array\Zend_Config

Zend_Config or Array

Exceptions

\Zend_Log_Exception

Returns

array

Write a message to the log.

_write(array $event) : void

Parameters

$event

array

log data event

 Properties

 

<p>of Zend_Log_Filter_Interface</p>

$_filters : array
Inherited

inherited_from \Zend_Log_Writer_Abstract::$$_filters
 

Formats the log message before writing.

$_formatter : \Zend_Log_Formatter_Interface
Inherited

inherited_from \Zend_Log_Writer_Abstract::$$_formatter
 

Is Zend Monitor enabled?

$_isEnabled : bool