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

 Methods

__construct()

__construct() : void

Add a filter specific to this writer.

addFilter(\Zend_Log_Filter_Interface|integer $filter) : \Zend_Log_Writer_Abstract
Inherited

Parameters

$filter

\Zend_Log_Filter_Interfaceinteger

Filter class or filter priority

Exceptions

\Zend_Log_Exception

Returns

\Zend_Log_Writer_Abstract

Create a new instance of Zend_Log_Writer_ZendMonitor

factory(array|\Zend_Config $config) : \Zend_Log_Writer_ZendMonitor
Static

Parameters

$config

array\Zend_Config

Returns

\Zend_Log_Writer_ZendMonitor

Is logging to this writer enabled?

isEnabled() : boolean

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

Set a new formatter for this writer

setFormatter(\Zend_Log_Formatter_Interface $formatter) : \Zend_Log_Writer_Abstract
Inherited

Parameters

$formatter

\Zend_Log_Formatter_Interface

Returns

\Zend_Log_Writer_Abstract

Perform shutdown activites such as closing open resources

shutdown() : void
Inherited

Log a message to this writer.

write(array $event) : void
inherited_from \Zend_Log_Writer_Abstract::write()

Parameters

$event

array

log data event

Log a message to this writer.

write(array $event) : void
Inherited

Parameters

$event

array

log data event

Validate and optionally convert the config to array

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

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
inherited_from \Zend_Log_Writer_Abstract::_write()

Parameters

$event

array

log data event

Write a message to the log.

_write(array $event) : void
Inherited

Parameters

$event

array

log data event

 Properties

 

of Zend_Log_Filter_Interface

$_filters : array

Default

array()
 

Formats the log message before writing.

$_formatter : \Zend_Log_Formatter_Interface

Default

 

Is Zend Monitor enabled?

$_isEnabled : boolean

Default

true
 

Is this for a Zend Server intance?

$_isZendServer : boolean

Default

false