original_string: 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()
              )
          );
      }
code: 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()
              )
          );
      }
code_tokens: 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 ( ) ) ) ; }
docstring: Logs an exception to the logger
  
  @param \Exception $exception
  @return void
docstring_tokens: Logs an exception to the logger