Procházet zdrojové kódy

Merge pull request #654 from dracony/patch-1

Reduce memory consumption of the debug_backtrace call
Jordi Boggiano před 10 roky
rodič
revize
d0f441e8b0

+ 1 - 1
src/Monolog/Processor/IntrospectionProcessor.php

@@ -52,7 +52,7 @@ class IntrospectionProcessor
             return $record;
         }
 
-        $trace = debug_backtrace();
+        $trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
 
         // skip first since it's always the current method
         array_shift($trace);