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

 Methods

Class constructor (the default encoding is UTF-8)

__construct(array|\Zend_Config $options = array()) : void

Parameters

$options

array\Zend_Config

Factory for Zend_Log_Formatter_Xml classe

factory(array|\Zend_Config $options) : \Zend_Log_Formatter_Xml
Static

Parameters

$options

array\Zend_Config

Returns

\Zend_Log_Formatter_Xml

Formats data into a single line to be written by the writer.

format(array $event) : string

Parameters

$event

array

event data

Returns

stringformatted line to write to the log

Get encoding

getEncoding() : string

Returns

string

Set encoding

setEncoding(string $value) : \Zend_Log_Formatter_Xml

Parameters

$value

string

Returns

\Zend_Log_Formatter_Xml

 Properties

 

Relates XML elements to log data field keys.

$_elementMap : array

Default

 

Encoding to use in XML

$_encoding : string

Default

 

Name of root element

$_rootElement : string

Default