![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/medad.corals.io/vendor/php-coveralls/php-coveralls/src/Component/Log/ |
<?php namespace PhpCoveralls\Component\Log; use Psr\Log\AbstractLogger; use Symfony\Component\Console\Output\OutputInterface; /** * Console logger for php-coveralls command. * * @author Kitamura Satoshi <[email protected]> */ class ConsoleLogger extends AbstractLogger { /** * Output. * * @var \Symfony\Component\Console\Output\OutputInterface */ protected $output; /** * Constructor. * * @param OutputInterface $output */ public function __construct(OutputInterface $output) { $this->output = $output; } /** * {@inheritdoc} * * @see \Psr\Log\LoggerInterface::log() */ public function log($level, $message, array $context = []) { $this->output->writeln($message); } }