src/Traits/Logging/PsrLogTrait.php
public function getPsrLog(): ?LoggerInterface
    {
        if (!$this->hasPsrLog()) {
            $this->setPsrLog($this->getDefaultPsrLog());
        }
        return $this->psrLog;
    }
public function getPsrLog(): ?LoggerInterface
    {
        if (!$this->hasPsrLog()) {
            $this->setPsrLog($this->getDefaultPsrLog());
        }
        return $this->psrLog;
    }
public function getPsrLog ( ) : ? LoggerInterface { if ( ! $ this -> hasPsrLog ( ) ) { $ this -> setPsrLog ( $ this -> getDefaultPsrLog ( ) ) ; } return $ this -> psrLog ; }
Get psr log

If no psr log has been set, this method will
set and return a default psr log, if any such
value is available

@see getDefaultPsrLog()

@return LoggerInterface|null psr log or null if none psr log has been set
Get psr log