Changing color and output of MAMP's php error log in the terminal

本小妞迷上赌 提交于 2019-12-25 02:22:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!