src/ClientBuilder.php
public function withConsoleDebug()
    {
        if (!class_exists(ConsoleLogger::class)) {
            throw new RuntimeException("You need to install 'symfony/console' to use this feature");
        }

        $this->logger = new ConsoleLogger(new ConsoleOutput(), [LogLevel::DEBUG => ConsoleOutput::VERBOSITY_NORMAL]);

        return $this;
    }
public function withConsoleDebug()
    {
        if (!class_exists(ConsoleLogger::class)) {
            throw new RuntimeException("You need to install 'symfony/console' to use this feature");
        }

        $this->logger = new ConsoleLogger(new ConsoleOutput(), [LogLevel::DEBUG => ConsoleOutput::VERBOSITY_NORMAL]);

        return $this;
    }
public function withConsoleDebug ( ) { if ( ! class_exists ( ConsoleLogger :: class ) ) { throw new RuntimeException ( "You need to install 'symfony/console' to use this feature" ) ; } $ this -> logger = new ConsoleLogger ( new ConsoleOutput ( ) , [ LogLevel :: DEBUG => ConsoleOutput :: VERBOSITY_NORMAL ] ) ; return $ this ; }
Setups a logger to output debug information to the console

@return $this
Setups a logger to output debug information to the console