Add Core\Logger to the introspection skip class list
- Make class list explicit to avoid confusion between similar class names - Update skipped class string match to a safer "starts with" condition
This commit is contained in:
@@ -104,7 +104,7 @@ class Introspection implements IHaveCallIntrospections
|
||||
|
||||
if (isset($traceItem['class'])) {
|
||||
foreach ($this->skipClassesPartials as $part) {
|
||||
if (strpos($traceItem['class'], $part) !== false) {
|
||||
if (strpos($traceItem['class'], $part) === 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user