Changing color and output of MAMP's php error

2019-08-30 12:17发布

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!

0条回答
登录 后发表回答