protected function createLogger()
    {
        if ($this->logger === null) {
            $consoleHandler = new ConsoleHandler($this->createOutput());
            $this->logger = new Logger('TYPO3 Surf', [$consoleHandler]);
        }

        return $this->logger;
    }
protected function createLogger()
    {
        if ($this->logger === null) {
            $consoleHandler = new ConsoleHandler($this->createOutput());
            $this->logger = new Logger('TYPO3 Surf', [$consoleHandler]);
        }

        return $this->logger;
    }
protected function createLogger ( ) { if ( $ this -> logger === null ) { $ consoleHandler = new ConsoleHandler ( $ this -> createOutput ( ) ) ; $ this -> logger = new Logger ( 'TYPO3 Surf' , [ $ consoleHandler ] ) ; } return $ this -> logger ; }
Create a logger instance

@return Logger
Create a logger instance