Description

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

Configurable parameters: - {@link $locationInfo} - If set to true then the file name and line number of the origin of the log statement will be included in output. - {@link $log4jNamespace} - If set to true then log4j namespace will be used instead of log4php namespace. This can be usefull when using log viewers which can only parse the log4j namespace such as Apache Chainsaw.

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.

Example:

{@example ../../examples/php/layout_xml.php 19}

{@example ../../examples/resources/layout_xml.properties 18}

The above would print:

Hello World!

Type hierarchy

braga/log4php dev-master 2.3.0
info2soft/log4php dev-master 2.3.0
vasily-kartashov/log4php 2.3.0
wccplatform/log4php dev-master 2.3.0
braga/log4php dev-master 2.3.0
info2soft/log4php dev-master 2.3.0

Class usage:

This class is not referred by any other class/interface/traits in packagist packages.