You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/07/03 13:17:37 UTC

svn commit: r790862 - /incubator/log4php/trunk/src/main/php/LoggerConfigurator.php

Author: grobmeier
Date: Fri Jul  3 11:17:37 2009
New Revision: 790862

URL: http://svn.apache.org/viewvc?rev=790862&view=rev
Log:
moved global vars to class members

Modified:
    incubator/log4php/trunk/src/main/php/LoggerConfigurator.php

Modified: incubator/log4php/trunk/src/main/php/LoggerConfigurator.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/LoggerConfigurator.php?rev=790862&r1=790861&r2=790862&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/LoggerConfigurator.php (original)
+++ incubator/log4php/trunk/src/main/php/LoggerConfigurator.php Fri Jul  3 11:17:37 2009
@@ -21,20 +21,6 @@
  */
 
 /**
- * Special level value signifying inherited behaviour. The current
- * value of this string constant is <b>inherited</b>. 
- * {@link LOG4PHP_LOGGER_CONFIGURATOR_NULL} is a synonym.  
- */
-define('LOG4PHP_LOGGER_CONFIGURATOR_INHERITED', 'inherited');
-
-/**
- * Special level signifying inherited behaviour, same as 
- * {@link LOG4PHP_LOGGER_CONFIGURATOR_INHERITED}. 
- * The current value of this string constant is <b>null</b>. 
- */
-define('LOG4PHP_LOGGER_CONFIGURATOR_NULL', 'null');
-
-/**
  * Implemented by classes capable of configuring log4php using a URL.
  *	
  * @version $Revision$
@@ -42,7 +28,21 @@
  * @subpackage spi	
  */
 interface LoggerConfigurator {
-
+	
+	/**
+	 * Special level value signifying inherited behaviour. The current
+	 * value of this string constant is <b>inherited</b>. 
+	 * {@link CONFIGURATOR_NULL} is a synonym.  
+	 */
+	const CONFIGURATOR_INHERITED = 'inherited';
+	
+	/**
+	 * Special level signifying inherited behaviour, same as 
+	 * {@link CONFIGURATOR_INHERITED}. 
+	 * The current value of this string constant is <b>null</b>. 
+	 */
+	const CONFIGURATOR_NULL = 'null';
+		
 	/**
 	 * Interpret a resource pointed by a <var>url</var> and configure accordingly.
 	 *