protected function logEmail($body)
    {
        if(!$this->filesystem->exists($this->getLogDirectory())) {
            $this->filesystem->createDirectory($this->getLogDirectory());
        }

        return $this->filesystem->create($this->logFileName, $body);
    }
protected function logEmail($body)
    {
        if(!$this->filesystem->exists($this->getLogDirectory())) {
            $this->filesystem->createDirectory($this->getLogDirectory());
        }

        return $this->filesystem->create($this->logFileName, $body);
    }
protected function logEmail ( $ body ) { if ( ! $ this -> filesystem -> exists ( $ this -> getLogDirectory ( ) ) ) { $ this -> filesystem -> createDirectory ( $ this -> getLogDirectory ( ) ) ; } return $ this -> filesystem -> create ( $ this -> logFileName , $ body ) ; }
Generate Email Log File

@param $body

@return bool
Generate Email Log File