Author: grobmeier
Date: Thu Aug 27 06:36:57 2009
New Revision: 808293
URL: http://svn.apache.org/viewvc?rev=808293&view=rev
Log:
renamed var from priority to level
Modified:
incubator/log4php/trunk/src/main/php/LoggerAppender.php
Modified: incubator/log4php/trunk/src/main/php/LoggerAppender.php
URL:
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/LoggerAppender.php?rev=808293&r1=808292&r2=808293&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/LoggerAppender.php (original)
+++ incubator/log4php/trunk/src/main/php/LoggerAppender.php Thu Aug 27 06:36:57
2009
@@ -235,14 +235,14 @@
*
*
* If there is no threshold set, then the return value is always
<i>true</i>.
- * @param LoggerLevel $priority
+ * @param LoggerLevel $level
* @return boolean true if priority is greater or equal than threshold
*/
- public function isAsSevereAsThreshold($priority) {
+ public function isAsSevereAsThreshold($level) {
if($this->threshold === null) {
return true;
}
- return $priority->isGreaterOrEqual($this->getThreshold());
+ return $level->isGreaterOrEqual($this->getThreshold());
}
/**