From: Philipp Holzer Date: Tue, 1 Jan 2019 21:36:23 +0000 (+0100) Subject: skipStackFramesCount to 1 to skip static method X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df230126c937985fb74d4d3ea93a963fae4cd0b6;p=friendica.git skipStackFramesCount to 1 to skip static method --- diff --git a/src/Util/LoggerFactory.php b/src/Util/LoggerFactory.php index e7b076bd6d..71239edbb3 100644 --- a/src/Util/LoggerFactory.php +++ b/src/Util/LoggerFactory.php @@ -29,7 +29,7 @@ class LoggerFactory $logger->pushProcessor(new Monolog\Processor\ProcessIdProcessor()); // Add more information in case of a warning and more - $logger->pushProcessor(new Monolog\Processor\IntrospectionProcessor(LogLevel::WARNING)); + $logger->pushProcessor(new Monolog\Processor\IntrospectionProcessor(LogLevel::WARNING, [], 1)); return $logger; } @@ -53,7 +53,7 @@ class LoggerFactory $logger->pushProcessor(new Monolog\Processor\PsrLogMessageProcessor()); $logger->pushProcessor(new Monolog\Processor\ProcessIdProcessor()); - $logger->pushProcessor(new Monolog\Processor\IntrospectionProcessor()); + $logger->pushProcessor(new Monolog\Processor\IntrospectionProcessor(Loglevel::DEBUG, [], 1)); $logger->pushHandler(new FriendicaDevelopHandler($developerIp));