API Documentation

Log/Writer/Abstract.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Writer
version
$Id: Abstract.php 22632 2010-07-18 18:30:08Z ramon $
Classes
Zend_Log_Writer_Abstract

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Log_Writer_Abstract

Implements
Zend_Log_FactoryInterface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Writer
version
$Id: Abstract.php 22632 2010-07-18 18:30:08Z ramon $
Properties
$_filters
$_formatter
Methods
addFilter
write
setFormatter
shutdown
_write
_parseConfig

Description

Properties

$_filters

array $_filters = 'array'

Details

$_filters
array
of Zend_Log_Filter_Interface
visibility
protected
default
array
final
false
static
false

$_formatter

Zend_Log_Formatter_Interface $_formatter = ''

Formats the log message before writing.

Details

$_formatter
Zend_Log_Formatter_Interface
visibility
protected
default
final
false
static
false

Methods

_parseConfig

_parseConfig( array|Zend_Config $config ) : array

Validate and optionally convert the config to array

Arguments
$config
arrayZend_Config
Zend_Config or Array
Output
array
Details
visibility
protected
final
false
static
true
throws

_write

_write( array $event ) : void

Write a message to the log.

Arguments
$event
array
log data event
Details
visibility
protected
final
false
static
false

addFilter

addFilter( Zend_Log_Filter_Interface $filter ) : void

Add a filter specific to this writer.

Arguments
$filter
Zend_Log_Filter_Interface
Details
visibility
public
final
false
static
false

setFormatter

setFormatter( Zend_Log_Formatter_Interface $formatter ) : void

Set a new formatter for this writer

Arguments
$formatter
Zend_Log_Formatter_Interface
Details
visibility
public
final
false
static
false

shutdown

shutdown( ) : void

Perform shutdown activites such as closing open resources

Details
visibility
public
final
false
static
false

write

write( array $event ) : void

Log a message to this writer.

Arguments
$event
array
log data event
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.