public function getLogger ($name) {
    if (!isset($this->logs[$name])) {
      $this->logs[$name] = $this->newLogger($name, $this->findParent($name));
    }
    return $this->logs[$name];
  }
public function getLogger ($name) {
    if (!isset($this->logs[$name])) {
      $this->logs[$name] = $this->newLogger($name, $this->findParent($name));
    }
    return $this->logs[$name];
  }
public function getLogger ( $ name ) { if ( ! isset ( $ this -> logs [ $ name ] ) ) { $ this -> logs [ $ name ] = $ this -> newLogger ( $ name , $ this -> findParent ( $ name ) ) ; } return $ this -> logs [ $ name ] ; }
Get a logger instance with the given name.

@param string $name Name of the logger
@return LoggerInterface
Get a logger instance with the given name .