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 | */
|
---|
23 | if (!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 | */
|
---|
30 | define('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 | */
|
---|
37 | define('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 | */
|
---|
49 | class 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 | ?> |
---|