source: branches/comu-ver2/data/module/log4php/php4/log4php/spi/LoggerConfigurator.php @ 18701

Revision 18701, 2.0 KB checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

Line 
1<?php
2/**
3 * log4php is a PHP port of the log4j java logging package.
4 *
5 * <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p>
6 * <p>Design, strategies and part of the methods documentation are developed by log4j team
7 * (Ceki Gülcü as log4j project founder and
8 * {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>
9 *
10 * <p>PHP port, extensions and modifications by VxR. All rights reserved.<br>
11 * For more information, please see {@link http://www.vxr.it/log4php/}.</p>
12 *
13 * <p>This software is published under the terms of the LGPL License
14 * a copy of which has been included with this distribution in the LICENSE file.</p>
15 *
16 * @package log4php
17 * @subpackage spi
18 */
19
20/**
21 * @ignore
22 */
23if (!defined('LOG4PHP_DIR')) define('LOG4PHP_DIR', dirname(__FILE__));
24
25/**
26 * Special level value signifying inherited behaviour. The current
27 * value of this string constant is <b>inherited</b>.
28 * {@link LOG4PHP_LOGGER_CONFIGURATOR_NULL} is a synonym. 
29 */
30define('LOG4PHP_LOGGER_CONFIGURATOR_INHERITED', 'inherited');
31
32/**
33 * Special level signifying inherited behaviour, same as
34 * {@link LOG4PHP_LOGGER_CONFIGURATOR_INHERITED}.
35 * The current value of this string constant is <b>null</b>.
36 */
37define('LOG4PHP_LOGGER_CONFIGURATOR_NULL',      'null');
38
39/**
40 * Implemented by classes capable of configuring log4php using a URL.
41 * 
42 * @author VxR <vxr@vxr.it>
43 * @version $Revision: 1.2 $
44 * @package log4php
45 * @subpackage spi 
46 * @since 0.5
47 * @abstract
48 */
49class LoggerConfigurator {
50
51   /**
52    * Interpret a resource pointed by a <var>url</var> and configure accordingly.
53    *
54    * The configuration is done relative to the <var>repository</var>
55    * parameter.
56    *
57    * @param string $url The URL to parse
58    * @param LoggerHierarchy &$repository The hierarchy to operation upon.
59    */
60    function doConfigure($url, &$repository)
61    {
62        return;
63    }
64}
65?>
Note: See TracBrowser for help on using the repository browser.