Browse Source

skipStackFramesCount to 1 to skip static method

pull/6482/head
Philipp Holzer 2 years ago
committed by Hypolite Petovan
parent
commit
df230126c9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Util/LoggerFactory.php

+ 2
- 2
src/Util/LoggerFactory.php View 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));


Loading…
Cancel
Save