Tools\Mailer\Email::_logEmail PHP Method

_logEmail() protected method

protected _logEmail ( string $level = LogLevel::INFO ) : void
$level string
return void
    protected function _logEmail($level = LogLevel::INFO)
    {
        $content = $this->_log['transport'] . (!Configure::read('Config.live') ? ' (simulated)' : '') . ' - ' . 'TO:' . implode(',', array_keys($this->_log['to'])) . '||FROM:' . implode(',', array_keys($this->_log['from'])) . '||REPLY:' . implode(',', array_keys($this->_log['replyTo'])) . '||S:' . $this->_log['subject'];
        $this->log($content, $level);
    }