Class LoggerDOMConfigurator

Description

Parse xml logger configuration and creates the LoggerHierarchy

Parse xml logger configuration and creates the LoggerHierarchy

Located in Program_Root/log4php/xml/LoggerDOMConfigurator.php (line 56)

LoggerConfigurator
   |
   --LoggerDOMConfigurator
Variable Summary
Method Summary
LoggerDOMConfigurator LoggerDOMConfigurator ()
void configure ([string $url = ''])
void doConfigure ([string $url = ''], LoggerHierarchy &$repository)
void doConfigureByString (string $xmlData, LoggerHierarchy &$repository)
void doConfigureDefault (LoggerHierarchy &$repository)
void parse (string $xmlData, mixed &$repository)
void setter (object &$object, string $name, mixed $value)
void subst (mixed $value)
void tagClose (mixed $parser, string $tag)
void tagOpen (mixed $parser, string $tag, mixed $attribs, array $attribs )
Variables
LoggerAppender $appender (line 76)
  • var: parsed LoggerAppender
LoggerFilter $filter (line 81)
  • var: parsed LoggerFilter
LoggerLayout $layout (line 86)
  • var: parsed LoggerLayout
Logger $logger (line 71)
  • var: parsed Logger
LoggerHierarchy $repository (line 61)
array $state (line 66)
  • var: state stack
Methods
Constructor LoggerDOMConfigurator (line 91)

Constructor

Constructor

LoggerDOMConfigurator LoggerDOMConfigurator ()
configure (line 109)

Configure the default repository using the resource pointed by url.

Configure the default repository using the resource pointed by url. Url is any valid resurce as defined in http://www.php.net/file function. Note that the resource will be search with use_include_path parameter set to "1".

  • static:
void configure ([string $url = ''])
  • string $url
doConfigure (line 125)

Configure the given repository using the resource pointed by url.

Configure the given repository using the resource pointed by url. Url is any valid resurce as defined in http://www.php.net/file function. Note that the resource will be search with use_include_path parameter set to "1".

void doConfigure ([string $url = ''], LoggerHierarchy &$repository)

Redefinition of:
LoggerConfigurator::doConfigure()
Interpret a resource pointed by a url and configure accordingly.
doConfigureByString (line 139)

Configure the given repository using the configuration written in xmlData.

Configure the given repository using the configuration written in xmlData. Do not call this method directly. Use doConfigure() instead.

void doConfigureByString (string $xmlData, LoggerHierarchy &$repository)
doConfigureDefault (line 147)
void doConfigureDefault (LoggerHierarchy &$repository)
parse (line 155)
void parse (string $xmlData, mixed &$repository)
  • string $xmlData
setter (line 559)
void setter (object &$object, string $name, mixed $value)
  • object $object
  • string $name
  • mixed $value
subst (line 575)
void subst (mixed $value)
tagClose (line 481)
void tagClose (mixed $parser, string $tag)
  • mixed $parser
  • string $tag
tagOpen (line 188)
  • todo: In 'LOGGER' case find a better way to detect 'getLogger()' method
void tagOpen (mixed $parser, string $tag, mixed $attribs, array $attribs )
  • mixed $parser
  • string $tag
  • array $attribs

Inherited Methods

Inherited From LoggerConfigurator

LoggerConfigurator::doConfigure()

Documentation generated on Wed, 10 Sep 2003 22:44:34 +0200 by phpDocumentor 1.2.2