Re: carriage returns using error_log?
| From: | Chris Shiflett | Date: | Sun, 20 Mar 2005 21:15:27 +0000 |
| Subject: | Re: carriage returns using error_log? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211149@lists.php.net to get a copy of this message | ||
Kurt Yoder wrote:
Is there any way to tell error_log to keep the newline characters? I am outputting error messages to the error log so I can look at detailed status information at the time of the error. However, if I put \n in the error message, it is treated literally by error_log and I see "\n" in the log message.Try using double quotes instead of single quotes. Hope that helps. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/