original_string: public function getLogger ($name) {
      if (!isset($this->logs[$name])) {
        $this->logs[$name] = $this->newLogger($name, $this->findParent($name));
      }
      return $this->logs[$name];
    }
code: public function getLogger ($name) {
      if (!isset($this->logs[$name])) {
        $this->logs[$name] = $this->newLogger($name, $this->findParent($name));
      }
      return $this->logs[$name];
    }
code_tokens: public function getLogger ( $ name ) { if ( ! isset ( $ this -> logs [ $ name ] ) ) { $ this -> logs [ $ name ] = $ this -> newLogger ( $ name , $ this -> findParent ( $ name ) ) ; } return $ this -> logs [ $ name ] ; }
docstring: Get a logger instance with the given name.
  
  @param string $name Name of the logger
  @return LoggerInterface
docstring_tokens: Get a logger instance with the given name .