]> git.mxchange.org Git - friendica.git/commitdiff
skipStackFramesCount to 1 to skip static method
authorPhilipp Holzer <admin@philipp.info>
Tue, 1 Jan 2019 21:36:23 +0000 (22:36 +0100)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:59:11 +0000 (09:59 -0500)
src/Util/LoggerFactory.php

index e7b076bd6d9a225fba6f7aaf9636024ab222479f..71239edbb3a6622e6784cd702f6a581dff35bba5 100644 (file)
@@ -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));