summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-01-19 22:14:54 +0000
committerxue <>2006-01-19 22:14:54 +0000
commite4381a808ae847265c854ec3d7f7f97e058e65ee (patch)
treec5ef007ffc79256e082400563350faed65992a3d
parent45eeef23d38ca15594625cdc70567d799cfab462 (diff)
Fixed an issue about log messaging filtering by category name.
-rw-r--r--framework/Log/TLogger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Log/TLogger.php b/framework/Log/TLogger.php
index 5c67a86f..2eff5568 100644
--- a/framework/Log/TLogger.php
+++ b/framework/Log/TLogger.php
@@ -108,7 +108,7 @@ class TLogger extends TComponent
{
foreach($this->_categories as $category)
{
- if(strpos($value[2],$category)===0)
+ if($value[2]===$category || strpos($value[2],$category.'.')===0)
return $value;
}
return false;