mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 21:56:31 +02:00
Merge pull request #654 from dracony/patch-1
Reduce memory consumption of the debug_backtrace call
This commit is contained in:
@@ -52,7 +52,7 @@ class IntrospectionProcessor
|
|||||||
return $record;
|
return $record;
|
||||||
}
|
}
|
||||||
|
|
||||||
$trace = debug_backtrace();
|
$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||||
|
|
||||||
// skip first since it's always the current method
|
// skip first since it's always the current method
|
||||||
array_shift($trace);
|
array_shift($trace);
|
||||||
|
Reference in New Issue
Block a user