src/Sulu/Bundle/Sales/CoreBundle/Manager/EmailManager.php
protected function writeLog($message)
    {
        $fileName = 'app/logs/mail/error.log';

        $log = sprintf("[%s]: %s\n", date_format(new \DateTime(), 'Y-m-d H:i:s'), $message);
        file_put_contents($fileName, $log, FILE_APPEND);
    }
protected function writeLog($message)
    {
        $fileName = 'app/logs/mail/error.log';

        $log = sprintf("[%s]: %s\n", date_format(new \DateTime(), 'Y-m-d H:i:s'), $message);
        file_put_contents($fileName, $log, FILE_APPEND);
    }
protected function writeLog ( $ message ) { $ fileName = 'app/logs/mail/error.log' ; $ log = sprintf ( "[%s]: %s\n" , date_format ( new \ DateTime ( ) , 'Y-m-d H:i:s' ) , $ message ) ; file_put_contents ( $ fileName , $ log , FILE_APPEND ) ; }
Writes a new line to mail error log

@param string $message
Writes a new line to mail error log