[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/log4php.debug/layouts/ -> LoggerXmlLayout.php (summary)

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>

File Size: 206 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LoggerXmlLayout:: (9 methods):
  activateOptions()
  getHeader()
  format()
  getFooter()
  getLocationInfo()
  getLog4jNamespace()
  ignoresThrowable()
  setLocationInfo()
  setLog4jNamespace()


Class: 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



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1