Class Zend_Log_Formatter_Xml

Description

Implements interfaces:

  • version: $Id: Xml.php 4389 2007-04-06 15:17:41Z mike $
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Log/Formatter/Xml.php (line 34)


	
			
Variable Summary
 Relates $_elementMap
 Relates $_rootElement
Method Summary
 Zend_Log_Formatter_Xml __construct ([ $rootElement = 'logEntry'], [array $elementMap = null])
 string format (array $event)
Variables
Relates $_elementMap (line 44)
  • var: XML elements to log data field keys.
  • access: protected
Relates $_rootElement (line 39)
  • var: XML elements to log data field keys.
  • access: protected
Methods
Constructor __construct (line 51)

Class constructor

  • access: public
Zend_Log_Formatter_Xml __construct ([ $rootElement = 'logEntry'], [array $elementMap = null])
  • array $elementMap
  • $rootElement
format (line 63)

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

  • return: formatted line to write to the log
  • access: public
string format (array $event)
  • array $event: event data

Implementation of:
Zend_Log_Formatter_Interface::format()
Formats data into a single line to be written by the writer.

Documentation generated on Sun, 27 May 2007 23:28:44 -0700 by phpDocumentor 1.3.2