1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-07 05:36:45 +02:00

changed variable to be more descriptive

This commit is contained in:
mtopolski
2015-10-26 10:20:58 -07:00
parent 2ae6b3338b
commit 1dbc4c3b51

View File

@@ -30,18 +30,18 @@ class IntrospectionProcessor
private $skipClassesPartials;
private $extraStack;
private $skipStackFramesCount;
private $skipFunctions = array(
'call_user_func',
'call_user_func_array',
);
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $extraStack = 0)
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0)
{
$this->level = Logger::toMonologLevel($level);
$this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);
$this->extraStack = $extraStack;
$this->skipStackFramesCount = $skipStackFramesCount;
}
/**
@@ -80,7 +80,7 @@ class IntrospectionProcessor
break;
}
$i += $this->extraStack;
$i += $this->skipStackFramesCount;
// we should have the call source now
$record['extra'] = array_merge(