public function getNameForLog()
    {
        if ($this->getClassObject() && $this->getClassObject() instanceof BlockInterface) {
            return $this->getClassObject()->name();
        }
        
        return $this->class;
    }
public function getNameForLog()
    {
        if ($this->getClassObject() && $this->getClassObject() instanceof BlockInterface) {
            return $this->getClassObject()->name();
        }
        
        return $this->class;
    }
public function getNameForLog ( ) { if ( $ this -> getClassObject ( ) && $ this -> getClassObject ( ) instanceof BlockInterface ) { return $ this -> getClassObject ( ) -> name ( ) ; } return $ this -> class ; }
Try to get the name of the log.
Try to get the name of the log .