public function configure(LoggerHierarchy $hierarchy, $input = null) {
		$config = $this->parse($input);
		$this->doConfigure($hierarchy, $config);
	}
public function configure(LoggerHierarchy $hierarchy, $input = null) {
		$config = $this->parse($input);
		$this->doConfigure($hierarchy, $config);
	}
public function configure ( LoggerHierarchy $ hierarchy , $ input = null ) { $ config = $ this -> parse ( $ input ) ; $ this -> doConfigure ( $ hierarchy , $ config ) ; }
Configures log4php based on the given configuration. The input can
either be a path to the config file, or a PHP array holding the
configuration.

If no configuration is given, or if the given configuration cannot be
parsed for whatever reason, a warning will be issued, and log4php
will use the default configuration contained in
{@link $defaultConfiguration}.

@param LoggerHierarchy $hierarchy The hierarchy on which to perform
the configuration.
@param string|array $input Either path to the config file or the
configuration as an array. If not set, default configuration
will be used.
Configures log4php based on the given configuration . The input can either be a path to the config file or a PHP array holding the configuration .