Changeset 395

Show
Ignore:
Timestamp:
01/19/2006 04:14:54 PM (3 years ago)
Author:
xue
Message:

Fixed an issue about log messaging filtering by category name.

Location:
trunk
Files:
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/framework/Log/TLogger.php

    r313 r395  
    109109                foreach($this->_categories as $category) 
    110110                { 
    111                         if(strpos($value[2],$category)===0) 
     111                        if($value[2]===$category || strpos($value[2],$category.'.')===0) 
    112112                                return $value; 
    113113                }