mirror of
https://github.com/friendica/friendica
synced 2024-11-19 04:23:41 +00:00
skipStackFramesCount to 1 to skip static method
This commit is contained in:
parent
45bde8fef1
commit
df230126c9
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue