protected function logException(\Exception $exception)
    {
        $this->logger->error(
            $exception->getMessage(),
            array(
                'class'=>get_class($exception),
                'message'=>$exception->getMessage(),
                'file'=>$exception->getMessage(),
                'line'=>$exception->getMessage(),
                'command'=>$this->getName()
            )
        );
    }
protected function logException(\Exception $exception)
    {
        $this->logger->error(
            $exception->getMessage(),
            array(
                'class'=>get_class($exception),
                'message'=>$exception->getMessage(),
                'file'=>$exception->getMessage(),
                'line'=>$exception->getMessage(),
                'command'=>$this->getName()
            )
        );
    }
protected function logException ( \ Exception $ exception ) { $ this -> logger -> error ( $ exception -> getMessage ( ) , array ( 'class' => get_class ( $ exception ) , 'message' => $ exception -> getMessage ( ) , 'file' => $ exception -> getMessage ( ) , 'line' => $ exception -> getMessage ( ) , 'command' => $ this -> getName ( ) ) ) ; }
Logs an exception to the logger

@param \Exception $exception
@return void
Logs an exception to the logger