protected function getLog()
    {
        if ($this->log == null) {
            $this->log = Tlog::getNewInstance();

            $logFilePath = $this->getLogFilePath();

            $this->log->setPrefix("#LEVEL: #DATE #HOUR: ");
            $this->log->setDestinations("\\Thelia\\Log\\Destination\\TlogDestinationFile");
            $this->log->setConfig("\\Thelia\\Log\\Destination\\TlogDestinationFile", 0, $logFilePath);
            $this->log->setLevel(Tlog::INFO);
        }

        return $this->log;
    }
protected function getLog()
    {
        if ($this->log == null) {
            $this->log = Tlog::getNewInstance();

            $logFilePath = $this->getLogFilePath();

            $this->log->setPrefix("#LEVEL: #DATE #HOUR: ");
            $this->log->setDestinations("\\Thelia\\Log\\Destination\\TlogDestinationFile");
            $this->log->setConfig("\\Thelia\\Log\\Destination\\TlogDestinationFile", 0, $logFilePath);
            $this->log->setLevel(Tlog::INFO);
        }

        return $this->log;
    }
protected function getLog ( ) { if ( $ this -> log == null ) { $ this -> log = Tlog :: getNewInstance ( ) ; $ logFilePath = $ this -> getLogFilePath ( ) ; $ this -> log -> setPrefix ( "#LEVEL: #DATE #HOUR: " ) ; $ this -> log -> setDestinations ( "\\Thelia\\Log\\Destination\\TlogDestinationFile" ) ; $ this -> log -> setConfig ( "\\Thelia\\Log\\Destination\\TlogDestinationFile" , 0 , $ logFilePath ) ; $ this -> log -> setLevel ( Tlog :: INFO ) ; } return $ this -> log ; }
Returns the module-specific logger, initializing it if required.

@return Tlog a Tlog instance
Returns the module - specific logger initializing it if required .