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 ku...@apache.org on 2009/05/04 22:31:52 UTC

svn commit: r771428 - in /incubator/log4php/trunk/src/main/php: Logger.php LoggerRoot.php

Author: kurdalen
Date: Mon May  4 20:31:52 2009
New Revision: 771428

URL: http://svn.apache.org/viewvc?rev=771428&view=rev
Log:
fixed #LOG4PHP-39

Modified:
    incubator/log4php/trunk/src/main/php/Logger.php
    incubator/log4php/trunk/src/main/php/LoggerRoot.php

Modified: incubator/log4php/trunk/src/main/php/Logger.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/Logger.php?rev=771428&r1=771427&r2=771428&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/Logger.php (original)
+++ incubator/log4php/trunk/src/main/php/Logger.php Mon May  4 20:31:52 2009
@@ -472,14 +472,6 @@
 	public function setAdditivity($additive) {
 		$this->additive = (bool)$additive;
 	}
-	
-	/**
-	 * @deprecated Please use {@link setLevel()} instead.
-	 * @see setLevel()
-	 */
-	public function setPriority($priority) {
-		$this->setLevel($priority);
-	} 
 
 	/**
 	 * Only the Hierarchy class can set the hierarchy of a

Modified: incubator/log4php/trunk/src/main/php/LoggerRoot.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/LoggerRoot.php?rev=771428&r1=771427&r2=771428&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/LoggerRoot.php (original)
+++ incubator/log4php/trunk/src/main/php/LoggerRoot.php Mon May  4 20:31:52 2009
@@ -68,15 +68,6 @@
 			$this->level = $level;
 		}	 
 	}
- 
-	/**
-	 * Please use setLevel() instead.
-	 * @param LoggerLevel $level
-	 * @deprecated
-	 */
-	public function setPriority($level) {
-		$this->setLevel($level); 
-	}
 	
 	/**
 	 * Always returns false.