{
$logger = new Monolog\Logger($channel);
$logger->pushProcessor(new Monolog\Processor\PsrLogMessageProcessor());
+ $logger->pushProcessor(new Monolog\Processor\ProcessIdProcessor());
+
+ // Add more information in case of a warning and more
+ $logger->pushProcessor(new Monolog\Processor\IntrospectionProcessor(LogLevel::WARNING));
return $logger;
}
{
$logger = new Monolog\Logger($channel);
$logger->pushProcessor(new Monolog\Processor\PsrLogMessageProcessor());
+ $logger->pushProcessor(new Monolog\Processor\ProcessIdProcessor());
+
+ $logger->pushProcessor(new Monolog\Processor\IntrospectionProcessor());
$logger->pushHandler(new FriendicaDevelopHandler($developerIp));