[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/log4php/layouts/ -> LoggerXmlLayout.php (sommaire)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

Poids: 206 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

LoggerXmlLayout:: (9 méthodes):
  activateOptions()
  getHeader()
  format()
  getFooter()
  getLocationInfo()
  getLog4jNamespace()
  ignoresThrowable()
  setLocationInfo()
  setLog4jNamespace()


Classe: LoggerXmlLayout  - X-Ref

The output of the LoggerXmlLayout consists of a series of log4php:event elements.

<p>Parameters: {@link $locationInfo}.</p>

<p>It does not output a complete well-formed XML file.
The output is designed to be included as an external entity in a separate file to form
a correct XML file.</p>

activateOptions()   X-Ref
No options to activate.


getHeader()   X-Ref

return: string

format($event)   X-Ref
Formats a {@link LoggerLoggingEvent} in conformance with the log4php.dtd.

param: LoggerLoggingEvent $event
return: string

getFooter()   X-Ref

return: string

getLocationInfo()   X-Ref

return: boolean

getLog4jNamespace()   X-Ref

return: boolean

ignoresThrowable()   X-Ref
The XMLLayout prints and does not ignore exceptions. Hence the
return value <b>false</b>.

return: boolean

setLocationInfo($flag)   X-Ref
The {@link $locationInfo} option takes a boolean value. By default,
it is set to false which means there will be no location
information output by this layout. If the the option is set to
true, then the file name and line number of the statement at the
origin of the log statement will be output.


setLog4jNamespace($flag)   X-Ref

param: boolean



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7