问题
So the first priority here is trying to change the color of the out from the php error logs in my terminal. I read in this article PHP log file color
about how they were using a class to do this but I'm not quite sure where to start. Maybe the php.ini
file? Also I'm using the command
tail -f /Applications/MAMP PRO/MAMP PRO.app/Contents/Resources/php5.5.10.ini
to output the error logs. If this is too difficult of a task to accomplish I'll let it go. I just think it'd be nice to see some kind of syntax highlighting on the output from the file.
Thanks for any help!
来源:https://stackoverflow.com/questions/23429683/changing-color-and-output-of-mamps-php-error-log-in-the-terminal