Lines Matching refs:logger
20 private $logger;
22 public function __construct(Mpdf $mpdf, LoggerInterface $logger)
25 $this->logger = $logger;
30 $this->logger->debug(sprintf('Fetching (cURL) content of remote URL "%s"', $url), ['context' => LogContext::REMOTE_CONTENT]);
68 $this->logger->error($message, ['context' => LogContext::REMOTE_CONTENT]);
78 $this->logger->error($message, ['context' => LogContext::REMOTE_CONTENT]);
92 $this->logger->debug(sprintf('Fetching (socket) content of remote URL "%s"', $url), ['context' => LogContext::REMOTE_CONTENT]);
114 $this->logger->error(sprintf('Socket error "%s": "%s"', $errno, $errstr), ['context' => LogContext::REMOTE_CONTENT]);
148 public function setLogger(LoggerInterface $logger)
150 $this->logger = $logger;