diff options
author | xue <> | 2006-01-19 22:14:54 +0000 |
---|---|---|
committer | xue <> | 2006-01-19 22:14:54 +0000 |
commit | e4381a808ae847265c854ec3d7f7f97e058e65ee (patch) | |
tree | c5ef007ffc79256e082400563350faed65992a3d | |
parent | 45eeef23d38ca15594625cdc70567d799cfab462 (diff) |
Fixed an issue about log messaging filtering by category name.
-rw-r--r-- | framework/Log/TLogger.php | 2 |
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;
|