mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
Remove Not in method name
Apparently there is check whether function should be skipped (positive).
This commit is contained in:
@@ -61,7 +61,7 @@ class IntrospectionProcessor
|
|||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
while ($this->isTraceClassOrNotSkippedFunction($trace, $i)) {
|
while ($this->isTraceClassOrSkippedFunction($trace, $i)) {
|
||||||
if (isset($trace[$i]['class'])) {
|
if (isset($trace[$i]['class'])) {
|
||||||
foreach ($this->skipClassesPartials as $part) {
|
foreach ($this->skipClassesPartials as $part) {
|
||||||
if (strpos($trace[$i]['class'], $part) !== false) {
|
if (strpos($trace[$i]['class'], $part) !== false) {
|
||||||
@@ -91,7 +91,7 @@ class IntrospectionProcessor
|
|||||||
return $record;
|
return $record;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function isTraceClassOrNotSkippedFunction ($trace, $index)
|
private function isTraceClassOrSkippedFunction ($trace, $index)
|
||||||
{
|
{
|
||||||
if (isset($trace[$index]) === false) {
|
if (isset($trace[$index]) === false) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user